def reverse_course_url(handler_name, course_key, kwargs=None):
 return reverse_url(handler_name, 'course_key_string', course_key, kwargs)

def reverse_course_url ( handler_name , course_key , kwargs = None ) : return reverse_url ( handler_name , 'course_key_string' , course_key , kwargs )
creates the url for handlers that use course_keys as url parameters .