Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2486 -- Fixed typo in docs/generic_views.txt. Thanks, umbrae@g…

…mail.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0c8c42af7f5a5bb27b57d93192b77fa657d4d57f 1 parent 320c10c
Adrian Holovaty authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/generic_views.txt
2  docs/generic_views.txt
@@ -127,7 +127,7 @@ If the given URL is ``None``, Django will return an ``HttpResponseGone`` (410).
127 127
 This example redirects from ``/foo/<id>/`` to ``/bar/<id>/``::
128 128
 
129 129
     urlpatterns = patterns('django.views.generic.simple',
130  
-        ('^foo/(?p<id>\d+)/$', 'redirect_to', {'url': '/bar/%(id)s/'}),
  130
+        ('^foo/(?P<id>\d+)/$', 'redirect_to', {'url': '/bar/%(id)s/'}),
131 131
     )
132 132
 
133 133
 This example returns a 410 HTTP error for requests to ``/bar/``::

0 notes on commit 0c8c42a

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