fix error 500 when trying to edit/create an arealocation in editor
This commit is contained in:
parent
9ea9a72bb2
commit
62d4132d60
7 changed files with 21 additions and 18 deletions
|
@ -49,7 +49,7 @@ class MapItem(models.Model, metaclass=MapItemMeta):
|
|||
kwargs = {}
|
||||
return kwargs
|
||||
|
||||
def tofile(self):
|
||||
def tofile(self, form=None):
|
||||
return OrderedDict()
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue