diff --git a/cfp/urls.py b/cfp/urls.py index 0c696ac..343dc0a 100644 --- a/cfp/urls.py +++ b/cfp/urls.py @@ -44,7 +44,7 @@ urlpatterns = [ url(r'^staff/talks/(?P[\w\-]+)/desist/$', views.talk_acknowledgment, {'confirm': False}, name='talk-desist-by-staff'), url(r'^staff/talks/(?P[\w\-]+)/edit/$', views.TalkUpdate.as_view(), name='talk-edit'), # url(r'^staff/talks/(?P[\w\-]+)/speaker/add/$', views.talk_speaker_add, name='talk-speaker-add'), TODO WIP - url(r'^staff/talks/(?P[\w\-]+)/speaker/del/(?P[\w\-]+)/$', views.talk_speaker_del, name='talk-speaker-remove'), + url(r'^staff/talks/(?P[\w\-]+)/speaker/remove/(?P[\w\-]+)/$', views.talk_speaker_remove, name='talk-speaker-remove'), url(r'^staff/speakers/$', views.participant_list, name='participant-list'), url(r'^staff/speakers/add/$', views.ParticipantCreate.as_view(), name='participant-add'), url(r'^staff/speakers/(?P[\w\-]+)/$', views.participant_details, name='participant-details'), diff --git a/cfp/views.py b/cfp/views.py index 10f381b..d155948 100644 --- a/cfp/views.py +++ b/cfp/views.py @@ -741,7 +741,7 @@ def talk_decide(request, talk_id, accept): @staff_required -def talk_speaker_del(request, talk_id, participant_id): +def talk_speaker_remove(request, talk_id, participant_id): talk = get_object_or_404(Talk, pk=talk_id, site=request.conference.site) participant = get_object_or_404(Participant, pk=participant_id, site=request.conference.site) talk.speakers.remove(participant)