diff options
| author | Tim Graham <timograham@gmail.com> | 2013-06-10 06:47:15 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-06-10 06:47:15 -0700 |
| commit | a643e4d200e12d1570174fec343a27d6bc47f735 (patch) | |
| tree | 95752eccbb10b88f5148173391d4c986da2daf89 /docs | |
| parent | af70dfcf317fd045df69917baca7bc0c58e2fd32 (diff) | |
| parent | 706eced9bb9012788494c14566577ed691924e82 (diff) | |
Merge pull request #1255 from camilonova/patch-2
Made URL patterns consistent in docs/ref/contrib/flatpages.txt
Diffstat (limited to 'docs')
| -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 |
