summaryrefslogtreecommitdiff
path: root/archaeological_files/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-12-27 17:53:15 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-12-27 17:55:37 +0100
commit9616de5a2c949bedde51e00e828478896bfe51bb (patch)
tree9ba5641662d7abeb2c690595f3255eb9df32ccc1 /archaeological_files/wizards.py
parent2b2293c6e7d6f1211d512665f088dedde0df5428 (diff)
downloadIshtar-9616de5a2c949bedde51e00e828478896bfe51bb.tar.bz2
Ishtar-9616de5a2c949bedde51e00e828478896bfe51bb.zip
Display current item window after creation and modification (refs #1574)
Diffstat (limited to 'archaeological_files/wizards.py')
-rw-r--r--archaeological_files/wizards.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_files/wizards.py b/archaeological_files/wizards.py
index 06e3bb5ed..7fb654b0b 100644
--- a/archaeological_files/wizards.py
+++ b/archaeological_files/wizards.py
@@ -24,6 +24,7 @@ from django.shortcuts import render_to_response
from django.template import RequestContext
from django.utils.translation import ugettext_lazy as _
+from ishtar_common.forms import reverse_lazy
from ishtar_common.wizards import Wizard, ClosingWizard
from archaeological_operations.wizards import OperationWizard,\
OperationAdministrativeActWizard,\
@@ -37,6 +38,7 @@ class FileWizard(OperationWizard):
model = models.File
object_parcel_type = 'associated_file'
parcel_step_key = 'parcels-'
+ wizard_done_window = reverse_lazy('show-file')
def get_form(self, step=None, data=None, files=None):
"""