1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +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:
Tim Graham
2013-08-29 09:39:31 -04:00
parent cf8d6e9108
commit af953c45cc
4 changed files with 26 additions and 5 deletions

View File

@@ -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):