issue submission forms

This commit is contained in:
Laura Klünder 2019-12-24 17:28:41 +01:00
parent e7fc0f24ae
commit 52c02a4101
18 changed files with 652 additions and 79 deletions

View file

@ -312,6 +312,8 @@ class LocationGroup(Location, models.Model):
label_settings = models.ForeignKey('mapdata.LabelSettings', null=True, blank=True, on_delete=models.PROTECT,
verbose_name=_('label settings'),
help_text=_('unless location specifies otherwise'))
can_report_missing = models.BooleanField(default=False, verbose_name=_('for missing locations'),
help_text=_('can be used when reporting a missing location'))
color = models.CharField(null=True, blank=True, max_length=32, verbose_name=_('background color'))
objects = LocationGroupManager()