Changeset 19
- Timestamp:
- 07/14/05 11:29:00 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
djangoproject.com/django_website/apps/blog/urls/blog.py
r17 r19 8 8 9 9 urlpatterns = patterns('django.views.generic.date_based', 10 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{ 2})/(?P<slug>\w+)/$', 'object_detail', dict(info_dict, slug_field='slug')),11 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{ 2})/$', 'archive_day', info_dict),10 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>\w+)/$', 'object_detail', dict(info_dict, slug_field='slug')), 11 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', 'archive_day', info_dict), 12 12 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$', 'archive_month', info_dict), 13 13 (r'^(?P<year>\d{4})/$', 'archive_year', info_dict),
