Fix typo in redirect view docs

This commit is contained in:
Alasdair Nicol 2013-05-20 00:59:17 +02:00
parent 7c56212c71
commit 428875775c
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ RedirectView
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'r^(?P<pk>\d+)/$', ArticleCounterRedirectView.as_view(), name='article-counter'), url(r'^(?P<pk>\d+)/$', ArticleCounterRedirectView.as_view(), name='article-counter'),
url(r'^go-to-django/$', RedirectView.as_view(url='http://djangoproject.com'), name='go-to-django'), url(r'^go-to-django/$', RedirectView.as_view(url='http://djangoproject.com'), name='go-to-django'),
) )