Skip to content

Commit

Permalink
Fixed two typos in docs/url_dispatch.txt
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed May 3, 2006
1 parent 69d6bd7 commit aa3712b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/url_dispatch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand All @@ -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'),
)
Expand Down

0 comments on commit aa3712b

Please sign in to comment.