9 lines
327 B
Python
9 lines
327 B
Python
from django.conf.urls import patterns, url
|
|
|
|
urlpatterns = patterns('calendrier.views',
|
|
url(r'^new$', 'create_event'),
|
|
url(r'^$', 'home'),
|
|
url(r'(?P<pYear>\d+)/(?P<pMonth>\d+)/(?P<id>\d+)/?', 'view_event'),
|
|
url(r'(?P<pYear>\d+)/(?P<pMonth>\d+)/?$', 'calendar'),
|
|
url(r'(?P<id>\d+)/?', 'view_eventbis'),
|
|
)
|