summaryrefslogtreecommitdiffstats
path: root/todolists/urls.py
blob: 187d482068f7328a1d4f3457d55c94173a189ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.conf.urls.defaults import patterns

urlpatterns = patterns('todolists.views',
    (r'^$',                       'list'),
    (r'^(\d+)/$',                 'view'),
    (r'^add/$',                   'add'),
    (r'^edit/(?P<list_id>\d+)/$', 'edit'),
    (r'^flag/(\d+)/(\d+)/$',      'flag'),
    (r'^delete/(?P<object_id>\d+)/$',
        'delete_todolist'),
)

# vim: set ts=4 sw=4 et: