Project

General

Profile

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

calebasse / calebasse / actes / urls.py @ b2f07b82

1 d7c741db Benjamin Dauvergne
from django.conf.urls import patterns, url, include
2 40cdcb8b Jérôme Schneider
from calebasse.actes.views import update_act, rebill_act, delete_act
3 5ae15fa7 Benjamin Dauvergne
4 d7c741db Benjamin Dauvergne
act_patterns = patterns('calebasse.actes.views',
5 7d7d5da8 Benjamin Dauvergne
        url(r'^$', 'act_listing', name='act-listing'),
6 7cd2f6fb Jérôme Schneider
        url(r'^act-new/$', 'act_new', name='act-new'),
7 eb086941 Jérôme Schneider
        url(r'^(?P<pk>\d+)/update$', update_act),
8 40cdcb8b Jérôme Schneider
        url(r'^(?P<pk>\d+)/delete$', delete_act),
9 52829527 Mikaël Ates
        url(r'^(?P<pk>\d+)/rebill', rebill_act),
10 d7c741db Benjamin Dauvergne
)
11 5ae15fa7 Benjamin Dauvergne
12 d7c741db Benjamin Dauvergne
urlpatterns = patterns('calebasse.actes.views',
13
        url(r'^$', 'redirect_today'),
14
        url(r'^(?P<date>[^/]*)/', include(act_patterns))
15 5ae15fa7 Benjamin Dauvergne
)