Changeset 282
- Timestamp:
- 07/21/05 13:12:29 (3 years ago)
- Files:
-
- django/trunk/docs/url_dispatch.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/url_dispatch.txt
r236 r282 22 22 (r'^/articles/(?P<year>\d{4})/$', 'myproject.news.views.articles.year_archive'), 23 23 (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'myproject.news.views.articles.month_archive'), 24 (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'myproject.news.views.articles.month_archive'),25 24 (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'myproject.news.views.articles.article_detail'), 26 25 ) … … 34 33 (r'^/articles/(?P<year>\d{4})/$', 'year_archive'), 35 34 (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'month_archive'), 36 (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'month_archive'),37 35 (r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'article_detail'), 38 36 ) 37 38 .. admonition:: Note 39 40 More precisely, the actual view function use is ``prefix + "." + 41 function_name``; that is, the trailing "dot" does not need to be put in the 42 prefix. Django: saving you time, one keystroke at a time. 39 43 40 44 Including other URLconfs
