Mercurial > public > sg101
annotate gpp/potd/urls.py @ 172:0fa78ef80356
Implementing #55 - Add function to view a users posts from their profile.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Feb 2010 22:20:15 +0000 |
parents | 7b6540b185d9 |
children | ddd69a8e07c7 |
rev | line source |
---|---|
gremmie@1 | 1 """ |
gremmie@1 | 2 URLs for the POTD application. |
gremmie@1 | 3 """ |
gremmie@1 | 4 from django.conf.urls.defaults import * |
gremmie@1 | 5 |
gremmie@1 | 6 urlpatterns = patterns('potd.views', |
gremmie@1 | 7 url(r'^$', 'view', name='potd-view'), |
bgneal@14 | 8 url(r'^archive/(\d+)/$', 'archive', name='potd-archive'), |
gremmie@1 | 9 ) |