Django

Code

Changeset 192

Show
Ignore:
Timestamp:
07/18/05 22:06:28 (3 years ago)
Author:
adrian
Message:

Fixed bug in [191]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/overview.txt

    r191 r192  
    170170 
    171171    urlpatterns = patterns('', 
    172         (r'^/articles/(?P\d<year>{4})/$', 'myproject.news.views.articles.year_archive'), 
    173         (r'^/articles/(?P\d<year>{4})/(?P\d<month>{2})/$', 'myproject.news.views.articles.month_archive'), 
    174         (r'^/articles/(?P\d<year>{4})/(?P\d<month>{2})/$', 'myproject.news.views.articles.month_archive'), 
    175         (r'^/articles/(?P\d<year>{4})/(?P\d<month>{2})/(?P<day>\d+)/$', 'myproject.news.views.articles.article_detail'), 
     172        (r'^/articles/(?P<year>\d{4})/$', 'myproject.news.views.articles.year_archive'), 
     173        (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'myproject.news.views.articles.month_archive'), 
     174        (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'myproject.news.views.articles.month_archive'), 
     175        (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'myproject.news.views.articles.article_detail'), 
    176176    ) 
    177177