mirror of
https://github.com/django/django.git
synced 2025-10-25 22:56:12 +00:00
Fixed #36032 -- Rendered URLField values as links in the admin.
This commit is contained in:
committed by
Sarah Boyce
parent
5851605863
commit
97ee8b82c2
@@ -33,6 +33,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)
|
||||
url = models.URLField(blank=True, null=True)
|
||||
|
||||
|
||||
class Band(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user