10 lines
341 B
Python
10 lines
341 B
Python
from django.conf.urls import url
|
|
from . import views
|
|
|
|
app_name = 'cal'
|
|
urlpatterns = [
|
|
url(r'^index/$', views.index, name='index'),
|
|
url(r'^calendar/$', views.CalendarView.as_view(), name='calendar'),
|
|
url(r'^event/new/$', views.event, name='event_new'),
|
|
url(r'^event/edit/(?P<event_id>\d+)/$', views.event, name='event_edit'),
|
|
]
|