@ensure_csrf_cookie
@ensure_valid_course_key
def syllabus(request, course_id):
 course_key = SlashSeparatedCourseKey.from_deprecated_string(course_id)
 course = get_course_with_access(request.user, 'load', course_key)
 staff_access = bool(has_access(request.user, 'staff', course))
 return render_to_response('courseware/syllabus.html', {'course': course, 'staff_access': staff_access})

@ ensure_csrf_cookie @ ensure_valid_course_key def syllabus ( request , course_id ) : course_key = SlashSeparatedCourseKey . from_deprecated_string ( course_id ) course = get_course_with_access ( request . user , 'load' , course_key ) staff_access = bool ( has_access ( request . user , 'staff' , course ) ) return render_to_response ( 'courseware/syllabus.html' , { 'course' : course , 'staff_access' : staff_access } )
display the courses syllabus .