app/django/contrib/formtools/test_urls.py
author Todd Larsen <tlarsen@google.com>
Wed, 21 Jan 2009 02:14:05 +0000
changeset 860 cfb57fe35d3c
parent 54 03e267d67478
permissions -rw-r--r--
Add a clean_agrees_to_tos() validator that requires "Yes" if ToS exists. Also, more user_logic.logic => user_logic fixes. If you are going to import "as", you might as well make the renaming worthwhile. Maybe we need to add a section on "import ... from ... as ..." in the style guide? Patch by: Todd Larsen Review by: to-be-reviewed

"""

This is a urlconf to be loaded by tests.py. Add any urls needed
for tests only.

"""
from django.conf.urls.defaults import *
from django.contrib.formtools.tests import *

urlpatterns = patterns('',
                       (r'^test1/', TestFormPreview(TestForm)),
                      )