rename Area.categories to Area.category

This commit is contained in:
Laura Klünder 2017-05-04 12:10:41 +02:00
parent 857788bcf6
commit 4441ca1b74
2 changed files with 21 additions and 1 deletions

View file

@ -128,7 +128,7 @@ class Area(GeometryMapItemWithLevel):
)
public = models.BooleanField(verbose_name=_('public'))
categories = models.CharField(verbose_name=_('category'), choices=CATEGORIES, max_length=16)
category = models.CharField(verbose_name=_('category'), choices=CATEGORIES, max_length=16)
layer = models.CharField(verbose_name=_('layer'), choices=LAYERS, max_length=16)
class Meta: