From ce68857ab707ec1fe744a1007c04c10fdb05e0ed Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 27 Sep 2017 12:25:06 +0200 Subject: Admin: fix property initialization for markers and routes --- chimere/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chimere/models.py') diff --git a/chimere/models.py b/chimere/models.py index 539ebfa..d8bf638 100644 --- a/chimere/models.py +++ b/chimere/models.py @@ -2137,8 +2137,9 @@ class PropertyModel(models.Model): class PropertyModelChoice(models.Model): - '''Choices for property model - ''' + """ + Choices for property model + """ propertymodel = models.ForeignKey(PropertyModel, related_name='choices', verbose_name=_("Property model")) value = models.CharField(_("Value"), max_length=150) -- cgit v1.2.3