From d354e2b0176b4a5c0086e1fcfee0a48cb7545652 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Thu, 20 Sep 2012 20:56:25 -0600 Subject: [PATCH] removed slugless URL names --- symposion/schedule/urls.py | 6 +++--- symposion/schedule/views.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/symposion/schedule/urls.py b/symposion/schedule/urls.py index 8473d556..2568577f 100644 --- a/symposion/schedule/urls.py +++ b/symposion/schedule/urls.py @@ -2,9 +2,9 @@ from django.conf.urls.defaults import url, patterns urlpatterns = patterns("symposion.schedule.views", - url(r"^$", "schedule_detail", name="schedule_detail_slugless"), - url(r"^edit/$", "schedule_edit", name="schedule_edit_slugless"), - url(r"^list/$", "schedule_list", name="schedule_list_slugless"), + url(r"^$", "schedule_detail", name="schedule_detail"), + url(r"^edit/$", "schedule_edit", name="schedule_edit"), + url(r"^list/$", "schedule_list", name="schedule_list"), url(r"^presentation/(\d+)/$", "schedule_presentation_detail", name="schedule_presentation_detail"), url(r"^(\w+)/$", "schedule_detail", name="schedule_detail"), url(r"^(\w+)/edit/$", "schedule_edit", name="schedule_edit"), diff --git a/symposion/schedule/views.py b/symposion/schedule/views.py index bb70ce0b..a19f700d 100644 --- a/symposion/schedule/views.py +++ b/symposion/schedule/views.py @@ -89,7 +89,7 @@ def schedule_slot_edit(request, slug, slot_pk): slot.unassign() else: slot.assign(presentation) - return redirect("schedule_edit_slugless") + return redirect("schedule_edit") else: form = SlotEditForm(content=content) ctx = {