2014-04-02 08:46:34 +08:00
|
|
|
from django.conf.urls import url
|
2011-08-13 21:51:34 +08:00
|
|
|
from django.contrib.formtools.tests.wizard.wizardtests.forms import (
|
2011-06-01 21:47:00 +08:00
|
|
|
SessionContactWizard, CookieContactWizard, Page1, Page2, Page3, Page4)
|
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2011-06-01 21:47:00 +08:00
|
|
|
url(r'^wiz_session/$', SessionContactWizard.as_view(
|
|
|
|
[('form1', Page1),
|
|
|
|
('form2', Page2),
|
|
|
|
('form3', Page3),
|
|
|
|
('form4', Page4)])),
|
|
|
|
url(r'^wiz_cookie/$', CookieContactWizard.as_view(
|
|
|
|
[('form1', Page1),
|
|
|
|
('form2', Page2),
|
|
|
|
('form3', Page3),
|
|
|
|
('form4', Page4)])),
|
2013-10-18 06:27:45 +08:00
|
|
|
url(r'^wiz_other_template/$', CookieContactWizard.as_view(
|
|
|
|
[('form1', Page1),
|
|
|
|
('form2', Page2),
|
|
|
|
('form3', Page3),
|
|
|
|
('form4', Page4)],
|
|
|
|
template_name='other_wizard_form.html')),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|