Skip to content

Instantly share code, notes, and snippets.

@acgray
Created January 29, 2012 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acgray/1700054 to your computer and use it in GitHub Desktop.
Save acgray/1700054 to your computer and use it in GitHub Desktop.
class ApplicationWizard(SessionWizard):
def done(self, request):
return render_to_response('done.html', {
'form_data': [form.cleaned_data for form in form_list],
})
urlpatterns = patterns('',
(r'^apply/(?P<slug>[A-Za-z0-9_-]+)$', forms.ApplicationWizard(
[Step('step-one',forms.ApplicationFormStepOne),Step('step-2',forms.ApplicationFormStepTwo)]
)),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment