calebasse / calebasse / actes / urls.py @ 26c60057
1 |
from django.conf.urls import patterns, url, include |
---|---|
2 |
|
3 |
act_patterns = patterns('calebasse.actes.views', |
4 |
url(r'^$', 'act_listing', name='act-listing'), |
5 |
url(r'^nouvel-acte/$', 'act_new', name='act-new'), |
6 |
)
|
7 |
|
8 |
urlpatterns = patterns('calebasse.actes.views', |
9 |
url(r'^$', 'redirect_today'), |
10 |
url(r'^(?P<date>[^/]*)/', include(act_patterns)) |
11 |
)
|