Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed two typos in docs/url_dispatch.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit aa3712bef038b94787c77ce80e0f401392c84f70 1 parent 69d6bd7
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/url_dispatch.txt
View
4 docs/url_dispatch.txt
@@ -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'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.