diff options
| author | Camilo Nova <camilo.nova@gmail.com> | 2013-06-08 10:45:39 -0500 |
|---|---|---|
| committer | Camilo Nova <camilo.nova@gmail.com> | 2013-06-08 10:45:39 -0500 |
| commit | 706eced9bb9012788494c14566577ed691924e82 (patch) | |
| tree | 9c2b1476d603da129426c9e964bb1b0a7eed540a /docs/ref | |
| parent | 6a092f24e01b6448f4e5601968db82720c9397de (diff) | |
Update flatpages.txt
Fixed typo
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/flatpages.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index 292b304acb..cff3f680d4 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -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 |
