Project

General

Profile

Download (578 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / actes / urls.py @ 017f4158

1
from django.conf.urls import patterns, url, include
2
from calebasse.actes.views import update_act, rebill_act, delete_act
3

    
4
act_patterns = patterns('calebasse.actes.views',
5
        url(r'^$', 'act_listing', name='act-listing'),
6
        url(r'^act-new/$', 'act_new', name='act-new'),
7
        url(r'^(?P<pk>\d+)/update$', update_act),
8
        url(r'^(?P<pk>\d+)/delete$', delete_act),
9
        url(r'^(?P<pk>\d+)/rebill', rebill_act),
10
)
11

    
12
urlpatterns = patterns('calebasse.actes.views',
13
        url(r'^$', 'redirect_today'),
14
        url(r'^(?P<date>[^/]*)/', include(act_patterns))
15
)
(6-6/9)