symposion_app/vendor/symposion/speakers/urls.py
Sachi King d95d66dac8 Taking one out of PyCon's (US) book
We're lock-step with symposion, and upstream is dead.
Vendor it.
2017-05-27 20:11:39 +10:00

17 lines
564 B
Python

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"),
]