From 0614e99fbdb9d14a57035da320a4fc7aca232469 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Thu, 11 Oct 2012 15:40:38 -0300 Subject: [PATCH] More URL reversion docs typo fixes. --- docs/topics/http/urls.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 7b5d3ded630..e178df2af28 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -567,9 +567,9 @@ Consider again this URLconf entry:: from django.conf.urls import patterns, url urlpatterns = patterns('', - #... + #... url(r'^articles/(\d{4})/$', 'news.views.year_archive'), - #... + #... ) According to this design, the URL for the archive corresponding to year *nnnn* @@ -598,7 +598,7 @@ Or in Python code:: # ... return HttpResponseRedirect(reverse('news.views.year_archive', args=(year,))) -If, for some reason, it was decided that the URL where content for yearly +If, for some reason, it was decided that the URLs where content for yearly article archives are published at should be changed then you would only need to change the entry in the URLconf.