1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00

Merge pull request #437 from dmedvinsky/bug/docs-typo-reversing

Fixed typo in URL reversing docs
This commit is contained in:
Tim Graham 2012-10-11 03:15:39 -07:00
commit 0921b74e69

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