app/django/contrib/formtools/test_urls.py
author Sverre Rabbelier <sverre@rabbelier.nl>
Thu, 04 Jun 2009 22:26:24 +0200
changeset 2392 b53e1cdb0398
parent 54 03e267d67478
permissions -rw-r--r--
Make the maintenance page a hardcoded response Show the maintenance message on the requested page, instead of redirecting to a specific url which then displays a page with the maintenance notice.

"""

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)),
                      )