1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Fixed #36063 -- Made a FileField navigate to the object admin change page when in list_display_links.

This commit is contained in:
antoliny0919
2025-01-05 18:58:03 +09:00
committed by Sarah Boyce
parent 6a1a9c0ead
commit a9c79b4629
5 changed files with 30 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ class GrandChild(models.Model):
class Genre(models.Model):
name = models.CharField(max_length=20)
file = models.FileField(upload_to="documents/", blank=True, null=True)
class Band(models.Model):