Fixed two typos in docs/url_dispatch.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-05-03 02:18:10 +00:00
parent 69d6bd7af3
commit aa3712bef0
1 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ Old::
from django.conf.urls.defaults import *
urlpatterns = patterns( ''
urlpatterns = patterns('',
(r'^/?$', 'django.views.generic.date_based.archive_index'),
(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$', 'django.views.generic.date_based.archive_month'),
(r'^tag/(?P<tag>\w+)/$', 'weblog.views.tag'),
@ -310,7 +310,7 @@ New::
from django.conf.urls.defaults import *
urlpatterns = patterns('django.views.generic.date_based'
urlpatterns = patterns('django.views.generic.date_based',
(r'^/?$', 'archive_index'),
(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$','archive_month'),
)