~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to django/contrib/formtools/tests/wizard/namedwizardtests/urls.py

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
from django.contrib.formtools.tests.wizard.namedwizardtests.forms import (
3
3
    SessionContactWizard, CookieContactWizard, Page1, Page2, Page3, Page4)
4
4
 
 
5
 
5
6
def get_named_session_wizard():
6
7
    return SessionContactWizard.as_view(
7
8
        [('form1', Page1), ('form2', Page2), ('form3', Page3), ('form4', Page4)],
9
10
        done_step_name='nwiz_session_done'
10
11
    )
11
12
 
 
13
 
12
14
def get_named_cookie_wizard():
13
15
    return CookieContactWizard.as_view(
14
16
        [('form1', Page1), ('form2', Page2), ('form3', Page3), ('form4', Page4)],