symposion_app/symposion/speakers/urls.py
2016-02-27 16:54:42 -06:00

18 lines
604 B
Python

from __future__ import unicode_literals
from django.conf.urls import url
from .views import (
speaker_create,
speaker_create_token,
speaker_edit,
speaker_profile,
speaker_create_staff
)
urlpatterns = [
url(r"^create/$", speaker_create, name="speaker_create"),
url(r"^create/(\w+)/$", speaker_create_token, name="speaker_create_token"),
url(r"^edit/(?:(?P<pk>\d+)/)?$", speaker_edit, name="speaker_edit"),
url(r"^profile/(?P<pk>\d+)/$", speaker_profile, name="speaker_profile"),
url(r"^staff/create/(\d+)/$", speaker_create_staff, name="speaker_create_staff"),
]