diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-18 01:05:08 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-18 01:05:08 +0100 |
commit | 2d8c714fe516361c2a47eba30542ae57452de22f (patch) | |
tree | a7256183a32a204ac4e90e2503483c5ffc1f33db /archaeological_operations/views.py | |
parent | b3856fc87277daa856292b71b51381f139c2fdf3 (diff) | |
download | Ishtar-2d8c714fe516361c2a47eba30542ae57452de22f.tar.bz2 Ishtar-2d8c714fe516361c2a47eba30542ae57452de22f.zip |
New management of modules
Diffstat (limited to 'archaeological_operations/views.py')
-rw-r--r-- | archaeological_operations/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py index 5299b7131..22d820b5b 100644 --- a/archaeological_operations/views.py +++ b/archaeological_operations/views.py @@ -30,6 +30,7 @@ from ishtar_common.wizards import SearchWizard, check_rights_condition from ishtar_common.forms import ClosingDateFormSelection from ishtar_common.forms_common import AuthorFormset, TownFormset, \ SourceDeletionForm +from ishtar_common.models import get_current_profile from wizards import * from forms import * import models @@ -243,7 +244,7 @@ wizard_steps = [ ('relations-operation_creation', RecordRelationsFormSet), ('abstract-operation_creation', OperationFormAbstract), ('final-operation_creation', FinalForm)] -if FILES_AVAILABLE: +if get_current_profile().files: wizard_steps.insert(0, ('filechoice-operation_creation', OperationFormFileChoice)) |