summaryrefslogtreecommitdiff
path: root/archaeological_files/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 16:19:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 16:19:59 +0100
commit1e05946531d237dc954f46ddfc25a6b61c084a74 (patch)
tree8b9137dd9b68121db86e4e22dfdb7b7016a6f1ad /archaeological_files/wizards.py
parent4779acd3006e6d6b17babd13585a4d83fb8d2332 (diff)
parent9eced41d76545bd2921605b7b81bd14b875ce541 (diff)
downloadIshtar-1e05946531d237dc954f46ddfc25a6b61c084a74.tar.bz2
Ishtar-1e05946531d237dc954f46ddfc25a6b61c084a74.zip
Merge branch 'develop'
Diffstat (limited to 'archaeological_files/wizards.py')
-rw-r--r--archaeological_files/wizards.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_files/wizards.py b/archaeological_files/wizards.py
index 106008192..c9b1ba9c2 100644
--- a/archaeological_files/wizards.py
+++ b/archaeological_files/wizards.py
@@ -43,8 +43,8 @@ class FileWizard(OperationWizard):
town_step_keys = ['towns-']
wizard_done_window = reverse_lazy('show-file')
- def get_extra_model(self, dct, form_list):
- dct = super(FileWizard, self).get_extra_model(dct, form_list)
+ def get_extra_model(self, dct, m2m, form_list):
+ dct = super(FileWizard, self).get_extra_model(dct, m2m, form_list)
if not dct.get('numeric_reference'):
current_ref = models.File.objects.filter(year=dct['year'])\
.aggregate(Max('numeric_reference'))["numeric_reference__max"]