Quellcode durchsuchen

Fix typo in URLs reversing docs

Dmitry Medvinsky vor 12 Jahren
Ursprung
Commit
b498ce8203
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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