django1/django/contrib/flatpages/urls.py

7 lines
138 B
Python

from django.conf.urls import url
from django.contrib.flatpages import views
urlpatterns = [
url(r'^(?P<url>.*)$', views.flatpage),
]