fix linter warnings

This commit is contained in:
Laura Klünder 2022-04-03 16:42:17 +02:00
parent 03437a3a40
commit 4e15cc1b74
10 changed files with 12 additions and 12 deletions

View file

@ -65,7 +65,7 @@ class Report(models.Model):
@property
def form_cls(self):
from c3nav.site.forms import ReportMissingLocationForm, ReportIssueForm
from c3nav.site.forms import ReportIssueForm, ReportMissingLocationForm
return ReportMissingLocationForm if self.category == 'missing-location' else ReportIssueForm
@cached_property