Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flatpages.txt #1255

Merged
merged 1 commit into from
Jun 10, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/ref/contrib/flatpages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Then either:
3. Add an entry in your URLconf. For example::

urlpatterns = patterns('',
('^pages/', include('django.contrib.flatpages.urls')),
(r'^pages/', include('django.contrib.flatpages.urls')),
)

or:
Expand All @@ -74,7 +74,7 @@ There are several ways to include the flat pages in your URLconf. You can
dedicate a particular path to flat pages::

urlpatterns = patterns('',
('^pages/', include('django.contrib.flatpages.urls')),
(r'^pages/', include('django.contrib.flatpages.urls')),
)

You can also set it up as a "catchall" pattern. In this case, it is important
Expand Down