def debug_cohort_mgmt(request, course_key_string):
 course_key = SlashSeparatedCourseKey.from_deprecated_string(course_key_string)
 get_course_with_access(request.user, 'staff', course_key)
 context = {'cohorts_url': reverse('cohorts', kwargs={'course_key': course_key.to_deprecated_string()})}
 return render_to_response('/course_groups/debug.html', context)

def debug_cohort_mgmt ( request , course_key_string ) : course_key = SlashSeparatedCourseKey . from_deprecated_string ( course_key_string ) get_course_with_access ( request . user , 'staff' , course_key ) context = { 'cohorts_url' : reverse ( 'cohorts' , kwargs = { 'course_key' : course_key . to_deprecated_string ( ) } ) } return render_to_response ( '/course_groups/debug.html' , context )
debugging view for dev .