view gcalendar/urls.py @ 1028:5ba2508939f7

Django 1.8 changes; first batch.
author Brian Neal <bgneal@gmail.com>
date Tue, 15 Dec 2015 21:01:07 -0600
parents ee87ea74d46b
children deed541ca79d
line wrap: on
line source
"""
URLs for the gcalendar application.
"""
from django.conf.urls import url

import gcalendar.views


urlpatterns = [
    url(r'^$', gcalendar.views.index, name='gcalendar-index'),
    url(r'^add/$', gcalendar.views.add_event, name='gcalendar-add'),
    url(r'^change/$', gcalendar.views.edit_events, name='gcalendar-edit_events'),
    url(r'^change/(\d+)/$', gcalendar.views.edit_event, name='gcalendar-edit_event'),
    url(r'^delete/$', gcalendar.views.delete_event, name='gcalendar-delete'),
    url(r'^thanks/add/$', gcalendar.views.add_thanks, name='gcalendar-add_thanks'),
    url(r'^thanks/change/$', gcalendar.views.edit_thanks, name='gcalendar-edit_thanks'),
]