view gcalendar/urls.py @ 1083:ae648fec8a51

Attempt to prevent FOUC around main menu.
author Brian Neal <bgneal@gmail.com>
date Wed, 27 Apr 2016 19:34:05 -0500 (2016-04-28)
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'),
]