fix linter warnings
This commit is contained in:
parent
03437a3a40
commit
4e15cc1b74
10 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue