mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Fixed #16433 -- Fixed a help_text/read only field interaction that caused an admin crash.
Thanks chris at cogdon.org for the report and admackin for the patch.
This commit is contained in:
parent
cf8d6e9108
commit
af953c45cc
4 changed files with 26 additions and 5 deletions
|
|
@ -495,7 +495,7 @@ class Topping(models.Model):
|
|||
|
||||
class Pizza(models.Model):
|
||||
name = models.CharField(max_length=20)
|
||||
toppings = models.ManyToManyField('Topping')
|
||||
toppings = models.ManyToManyField('Topping', related_name='pizzas')
|
||||
|
||||
|
||||
class Album(models.Model):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue