removed slugless URL names

This commit is contained in:
Brian Rosner 2012-09-20 20:56:25 -06:00
parent fad4c7d4dd
commit d354e2b017
2 changed files with 4 additions and 4 deletions

View file

@ -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"),

View file

@ -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 = {