From 0bbb58bdf1cad93846bec23d2481e5ffffa818f8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 27 Dec 2013 17:53:15 +0100 Subject: Display current item window after creation and modification (refs #1574) --- archaeological_context_records/wizards.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'archaeological_context_records/wizards.py') diff --git a/archaeological_context_records/wizards.py b/archaeological_context_records/wizards.py index 60dab44d6..cd48d1308 100644 --- a/archaeological_context_records/wizards.py +++ b/archaeological_context_records/wizards.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2012 Étienne Loks +# Copyright (C) 2012-2013 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -23,12 +23,14 @@ 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, DeletionWizard, SourceWizard import models class RecordWizard(Wizard): model = models.ContextRecord edit = False + wizard_done_window = reverse_lazy('show-contextrecord') def get_current_operation(self): step = self.steps.current -- cgit v1.2.3