summaryrefslogtreecommitdiff
path: root/ishtar_common/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r--ishtar_common/views.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index 54eb9164f..296d56648 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -103,6 +103,15 @@ person_modification_wizard = wizards.PersonModifWizard.as_view(
label=_(u"Person modification"),
url_name='person_modification')
+
+def person_modify(request, pk):
+ person_modification_wizard(request)
+ wizards.PersonModifWizard.session_set_value(
+ request, 'selec-person_modification', 'pk', pk, reset=True)
+ return redirect(reverse('person_modification',
+ kwargs={'step': 'identity-person_modification'}))
+
+
person_deletion_wizard = wizards.PersonDeletionWizard.as_view(
[('selec-person_deletion', forms.PersonFormSelection),
('final-person_deletion', FinalDeleteForm)],