Files
@ 6b41b5c4773c
Branch filter:
Location: symposion_app/symposion/schedule/urls.py - annotation
6b41b5c4773c
1.2 KiB
text/x-python
Don't show unpublished schedule info to non-staff.
Add checks to schedule_list, schedule_list_csv, and
schedule_presentation_detail views to verify that either schedule is
published or that current user is staff before displaying information.
See c7592bc33e2626d84ec46fe1e7ba8e05c73ef74c.
Add checks to schedule_list, schedule_list_csv, and
schedule_presentation_detail views to verify that either schedule is
published or that current user is staff before displaying information.
See c7592bc33e2626d84ec46fe1e7ba8e05c73ef74c.
a95825ede8d4 5c07d3e9454b 0a4e626dfe9b 0a4e626dfe9b 7596729ec10f 7596729ec10f 2a68242a5482 d354e2b0176b d354e2b0176b b48d66fd9de6 7596729ec10f 7596729ec10f 17f9e53ef441 17f9e53ef441 17f9e53ef441 7596729ec10f 7596729ec10f 7596729ec10f 7596729ec10f 51709c6eaf39 a41fb8bd3542 a41fb8bd3542 a41fb8bd3542 0a4e626dfe9b | from __future__ import unicode_literals
from django.conf.urls import url, patterns
urlpatterns = patterns(
"symposion.schedule.views",
url(r"^$", "schedule_conference", name="schedule_conference"),
url(r"^edit/$", "schedule_edit", name="schedule_edit"),
url(r"^list/$", "schedule_list", name="schedule_list"),
url(r"^presentations.csv$", "schedule_list_csv", name="schedule_list_csv"),
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"),
url(r"^([\w\-]+)/list/$", "schedule_list", name="schedule_list"),
url(r"^([\w\-]+)/presentations.csv$", "schedule_list_csv",
name="schedule_list_csv"),
url(r"^([\w\-]+)/edit/slot/(\d+)/", "schedule_slot_edit",
name="schedule_slot_edit"),
url(r"^conference.json", "schedule_json", name="schedule_json"),
url(r"^sessions/staff.txt$", "session_staff_email", name="schedule_session_staff_email"),
url(r"^sessions/$", "session_list", name="schedule_session_list"),
url(r"^session/(\d+)/$", "session_detail", name="schedule_session_detail"),
)
|