diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-14 18:37:22 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-14 18:37:22 +0200 |
| commit | 9aca92fb0044d9665c69e6ec36bd8bb69ef1829f (patch) | |
| tree | 05a548ef57b6e186fe907e12e4ca10526ef7eda7 /archaeological_operations/views.py | |
| parent | d2d4e159eb1df50529b32e4ada4bf3586136619c (diff) | |
| parent | a39f989e9c02bca9e4c3127fde855364f392e3a5 (diff) | |
| download | Ishtar-9aca92fb0044d9665c69e6ec36bd8bb69ef1829f.tar.bz2 Ishtar-9aca92fb0044d9665c69e6ec36bd8bb69ef1829f.zip | |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'archaeological_operations/views.py')
| -rw-r--r-- | archaeological_operations/views.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py index 0b9b9c453..14160266b 100644 --- a/archaeological_operations/views.py +++ b/archaeological_operations/views.py @@ -361,6 +361,15 @@ operation_source_modification_wizard = OperationSourceWizard.as_view([ label=_(u"Operation: source modification"), url_name='operation_source_modification',) + +def operation_source_modify(request, pk): + operation_source_modification_wizard(request) + OperationSourceWizard.session_set_value( + request, 'selec-operation_source_modification', 'pk', pk, reset=True) + return redirect(reverse( + 'operation_source_modification', + kwargs={'step': 'source-operation_source_modification'})) + operation_source_deletion_wizard = OperationSourceDeletionWizard.as_view([ ('selec-operation_source_deletion', OperationSourceFormSelection), ('final-operation_source_deletion', SourceDeletionForm)], |
