diff options
author | luxagraf <sng@luxagraf.net> | 2012-12-12 21:06:02 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2012-12-12 21:06:02 -0500 |
commit | 4b963b007e47feedce22938c0831d0f3bcf54f84 (patch) | |
tree | a661de621f1cdcc9a8a1bd6d404801521c8bc96d /app/projects/urls.py | |
parent | 841e67b79e3b91eac544a7fc85b76297ce3d8925 (diff) |
started building code blog
Diffstat (limited to 'app/projects/urls.py')
-rw-r--r-- | app/projects/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/projects/urls.py b/app/projects/urls.py index 83f07c7..f4d692c 100644 --- a/app/projects/urls.py +++ b/app/projects/urls.py @@ -12,6 +12,7 @@ projects = { urlpatterns = patterns('', (r'data/(?P<id>\d+)/$', 'projects.views.data_json'), (r'gifs/(?P<slug>[-\w]+)/$', 'projects.views.gif_detail'), + (r'code/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[-\w]+)/$', 'projects.views.code_entry_detail'), (r'(?P<slug>[-\w]+)/$', 'projects.views.detail'), (r'^$',list_detail.object_list, dict(projects, template_name='archives/projects.html')), ) |