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