summaryrefslogtreecommitdiff
path: root/ishtar_common/views.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-09 18:00:14 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-09 18:00:14 +0200
commit91c89b4e85e06385621b2577d209ab037feb672a (patch)
treee8ff595f330b8e19237ae86624298264fc710074 /ishtar_common/views.py
parent5cd04a43642ccc3550a0eb57bf4481c08e0402ee (diff)
downloadIshtar-91c89b4e85e06385621b2577d209ab037feb672a.tar.bz2
Ishtar-91c89b4e85e06385621b2577d209ab037feb672a.zip
Tests: account creation
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r--ishtar_common/views.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index be7c7b8e0..c537beaaa 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -190,10 +190,13 @@ organization_deletion_wizard = wizards.OrganizationDeletionWizard.as_view(
label=_(u"Organization deletion"),
url_name='organization_deletion',)
+account_wizard_steps = [
+ ('selec-account_management', forms.PersonUserFormSelection),
+ ('account-account_management', forms.AccountForm),
+ ('final-account_management', forms.FinalAccountForm)]
+
account_management_wizard = wizards.AccountWizard.as_view(
- [('selec-account_management', forms.PersonUserFormSelection),
- ('account-account_management', forms.AccountForm),
- ('final-account_management', forms.FinalAccountForm)],
+ account_wizard_steps,
label=_(u"Account management"),
url_name='account_management',)