Skip to content

Commit

Permalink
Merge pull request #1184 from alasdairnicol/reverse_view_docs_typo
Browse files Browse the repository at this point in the history
Fix typo in redirect view docs
  • Loading branch information
mjtamlyn committed May 20, 2013
2 parents 6d81d5d + 4288757 commit a936726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/class-based-views/base.txt
Expand Up @@ -208,7 +208,7 @@ RedirectView

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'),
)

Expand Down

0 comments on commit a936726

Please sign in to comment.