symposion_app/vendor/symposion/speakers/urls.py

18 lines
564 B
Python
Raw Normal View History

2016-02-27 22:54:42 +00:00
from django.conf.urls import url
2012-07-12 04:38:24 +00:00
2016-02-27 22:54:42 +00:00
from .views import (
speaker_create,
speaker_create_token,
speaker_edit,
speaker_profile,
speaker_create_staff
2012-07-12 04:38:24 +00:00
)
2016-02-27 22:54:42 +00:00
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"),
]