Fix typo in URLs reversing docs

This commit is contained in:
Dmitry Medvinsky 2012-10-11 12:38:14 +04:00
parent 7ef2781ca0
commit b498ce8203
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ Or in Python code::
# ...
year = 2006
# ...
return HttpResponseRedirect(reverse('new.views.year_archive', args=(year,)))
return HttpResponseRedirect(reverse('news.views.year_archive', args=(year,)))
If, for some reason, it was decided that the URL where content for yearly
article archives are published at should be changed then you would only need to