Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1255 from camilonova/patch-2

Made URL patterns consistent in docs/ref/contrib/flatpages.txt
  • Loading branch information...
commit a643e4d200e12d1570174fec343a27d6bc47f735 2 parents af70dfc + 706eced
Tim Graham authored June 10, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/contrib/flatpages.txt
4  docs/ref/contrib/flatpages.txt
@@ -47,7 +47,7 @@ Then either:
47 47
 3. Add an entry in your URLconf. For example::
48 48
 
49 49
     urlpatterns = patterns('',
50  
-        ('^pages/', include('django.contrib.flatpages.urls')),
  50
+        (r'^pages/', include('django.contrib.flatpages.urls')),
51 51
     )
52 52
 
53 53
 or:
@@ -74,7 +74,7 @@ There are several ways to include the flat pages in your URLconf. You can
74 74
 dedicate a particular path to flat pages::
75 75
 
76 76
     urlpatterns = patterns('',
77  
-        ('^pages/', include('django.contrib.flatpages.urls')),
  77
+        (r'^pages/', include('django.contrib.flatpages.urls')),
78 78
     )
79 79
 
80 80
 You can also set it up as a "catchall" pattern. In this case, it is important

0 notes on commit a643e4d

Please sign in to comment.
Something went wrong with that request. Please try again.