app/django/contrib/flatpages/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 16 Nov 2008 22:11:16 +0000
changeset 491 e13da520d063
parent 54 03e267d67478
permissions -rw-r--r--
Improved public page link text Instead of putting the name of the entity in the link text to the public page, a way better solution is to put static text there.

from django.conf.urls.defaults import *

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