Refs #25165 -- Fixed failure of admin's "Add another" popup to close.

Thanks Thomas Grainger for the fix.
This commit is contained in:
Tim Graham 2016-01-08 10:21:27 -05:00
parent db8f462494
commit 822a03b3e4
3 changed files with 17 additions and 3 deletions

View file

@ -16,6 +16,7 @@ from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Section(models.Model):
"""
A simple section that links to articles, to test linking to related items
@ -23,6 +24,9 @@ class Section(models.Model):
"""
name = models.CharField(max_length=100)
def __str__(self):
return self.name
@property
def name_property(self):
"""