app/django/contrib/flatpages/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 02 Nov 2009 16:23:58 +0100
changeset 3073 6e100e194680
parent 54 03e267d67478
permissions -rw-r--r--
Convert gen_app_yaml.py to optparse This allows for example the -f flag to be specified as the second argument. Also add a '-i|--interactive' flag which asks for the application name interactively.

from django.conf.urls.defaults import *

urlpatterns = patterns('django.contrib.flatpages.views',
    (r'^(?P<url>.*)$', 'flatpage'),
)