Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'dev'

  • Loading branch information...
commit ffba4e8cb433ce5303a41eaf45bb21e35dceec33 2 parents 3f8ce89 + d2a489d
@brosner brosner authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 pycon_project/apps/schedule/views.py
View
6 pycon_project/apps/schedule/views.py
@@ -213,9 +213,9 @@ def schedule_conference_edit(request):
if not request.user.is_staff:
return redirect("schedule_conference")
ctx = {
- "friday": Timetable(Slot.objects.filter(start__week_day=6)),
- "saturday": Timetable(Slot.objects.filter(start__week_day=7)),
- "sunday": Timetable(Slot.objects.filter(start__week_day=1)),
+ "friday": Timetable(Slot.objects.filter(start__week_day=6), user=request.user),
+ "saturday": Timetable(Slot.objects.filter(start__week_day=7), user=request.user),
+ "sunday": Timetable(Slot.objects.filter(start__week_day=1), user=request.user),
}
ctx = RequestContext(request, ctx)
return render_to_response("schedule/conference_edit.html", ctx)
Please sign in to comment.
Something went wrong with that request. Please try again.