From 91c89b4e85e06385621b2577d209ab037feb672a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 9 Jul 2017 18:00:14 +0200 Subject: Tests: account creation --- ishtar_common/views.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ishtar_common/views.py') 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',) -- cgit v1.2.3