summaryrefslogtreecommitdiff
path: root/tests/admin_views/models.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-08-29 09:39:31 -0400
committerTim Graham <timograham@gmail.com>2013-08-29 09:45:02 -0400
commitef1259342b46cd4b63678a4acddf2a2b631d342c (patch)
treec4039f15e8349cafd7262011586faf67b7255868 /tests/admin_views/models.py
parent58157be5ad31b42a1dc73e357cfdece02fd0b6ee (diff)
[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
Diffstat (limited to 'tests/admin_views/models.py')
-rw-r--r--tests/admin_views/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/models.py b/tests/admin_views/models.py
index 9a7f0ff30e..f92b3a1a24 100644
--- a/tests/admin_views/models.py
+++ b/tests/admin_views/models.py
@@ -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):