Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update flatpages.txt

Fixed typo
  • Loading branch information...
commit 706eced9bb9012788494c14566577ed691924e82 1 parent 6a092f2
Camilo Nova camilonova authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/contrib/flatpages.txt
4 docs/ref/contrib/flatpages.txt
View
@@ -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:
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.