djangosnippets.org: Latest snippets tagged with 'wizard'https://djangosnippets.org/tags/wizard/2015-09-11T03:57:46.837022-05:00Mutiple forms on Form wizard
2015-09-11T03:57:46.837022-05:00LaraChicharohttps://djangosnippets.org/snippets/10528/<p>Wraps many Form subclases in order to get a form wizard to treat them as one.</p>
<p>Many Forms will use one step.</p>
<p><strong>Example:</strong></p>
<p><code>class LanguageVerifiedHumanForm(MultipleForms):
base_forms = [
('language_form', LanguageForm), ('verified_human_form', VerifiedHumanForm)
]</code></p>
<p><code>class NewGuideWizard(SessionWizardView):
form_list = [
('guide_form', GuideForm),
('multi_form', LanguageVerifiedHumanForm),
]</code></p>
Freely redistributableMixin for named URL WizardViews with one form on the frontpage
2012-03-05T16:58:46.854847-06:00jezdezhttps://djangosnippets.org/snippets/2709/<p>A Django 1.4 wizard mixin for use cases with a wizard step on the frontpage
of your site -- with a request path of <code>'/'</code>.</p>
<p>Just define the name of the step (e.g. <code>root_step = 'landing_page'</code>)
and it does the setup and redirection automatically.</p>
Freely redistributableFormWizard inside view with proper context handling and site templating support, without having to use urls.py
2009-12-11T07:22:56.078133-06:00sleepycalhttps://djangosnippets.org/snippets/1833/<p>Okay - so I came across a really annoying problem earlier, where I wasn't able to <em>easily</em> load a formwizard as a segment into an existing view, and wrap it using my existing site template layouts. This was <em>REALLY</em> annoying. Especially since I wanted to keep as much of a …</p>
Freely redistributableExtended Form Wizard with ability to go backwards
2009-04-20T18:41:01.076058-05:00mtsyganovhttps://djangosnippets.org/snippets/1454/<p>This is an extended version of django wizard with the ability to go back
and execute any step directly.
To define next step to execute use the form field with the name
"wizard_next_step".
Don't forget to specify in your form the wizard_max_step field, so the
knows the step number with …</p>
Freely redistributableSession-backed FormWizard
2008-10-03T15:27:06.763500-05:00donspauldinghttps://djangosnippets.org/snippets/1111/<p>A rewrite of the django.contrib.formtools.FormWizard class to be session-based instead of saving state in hidden form variables.</p>
<p>It started out as a simple port of the standard FormWizard class, and much of the original behavior was unchanged because I wanted to limit the scope of the "rewrite". Along the way …</p>
Freely redistributableSession Wizard
2008-09-22T15:50:55.507302-05:00ddurhamhttps://djangosnippets.org/snippets/1078/<p>This a wizard tool similar to the one in django.contrib.formtools, but it uses a session. I hope to eventually get this into shape and contribute it to the formtools package, but for right now, here it is.</p>
<p>The wizard steps are broken into 2 categories:</p>
<p>Show Form and Submit Form …</p>
Freely redistributable