Browse Source

Fix typo in URLs reversing docs

Dmitry Medvinsky 12 years ago
parent
commit
b498ce8203
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/http/urls.txt

+ 1 - 1
docs/topics/http/urls.txt

@@ -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