view gcalendar/urls.py @ 1096:d9cd3180c12c

More GCalendar V3 conversion in progress. Built a brand new post editor. It is hardcoded into GCalendar right now. We will make it more general in the future.
author Brian Neal <bgneal@gmail.com>
date Tue, 14 Jun 2016 21:16:09 -0500
parents 5ba2508939f7
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'),
]