Features: store titles as a JSONField and add loadmap and dumpmap support

This commit is contained in:
Laura Klünder 2016-09-26 11:18:56 +02:00
parent 49c2270b84
commit be62b14669
11 changed files with 101 additions and 27 deletions

View file

@ -32,7 +32,7 @@ class Source(models.Model):
return 'sources/%s.json' % self.name
@classmethod
def fromfile(cls, data):
def fromfile(cls, data, file_path):
kwargs = {}
if 'bounds' not in data: