소스 검색

Fix typo in URLs reversing docs

Dmitry Medvinsky 12 년 전
부모
커밋
b498ce8203
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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