mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
[1.6.x] 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.
Backport of af953c45cc from master
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user