21b2a01a84
This is all noop in Py3, and Py2 is broke now in various places. Dropping Py2 code as it will not be a thing going forward. Django 2 is the next release, Py2 support will be dropped, as such, dropping this is forward looking.
17 lines
564 B
Python
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"),
|
|
]
|