diff --git a/django/contrib/flatpages/urls.py b/django/contrib/flatpages/urls.py index c78022c4e4..49289304ff 100644 --- a/django/contrib/flatpages/urls.py +++ b/django/contrib/flatpages/urls.py @@ -1,5 +1,5 @@ from django.conf.urls.defaults import * -urlpatterns = patterns('django.views', - (r'^(?P.*)$', 'django.contrib.flatpages.views.flatpage'), +urlpatterns = patterns('django.contrib.flatpages.views', + (r'^(?P.*)$', 'flatpage'), )