def _instructor_dash_url(course_key, section=None):
 url = reverse('instructor_dashboard', kwargs={'course_id': unicode(course_key)})
 if (section is not None):
  url += u'#view-{section}'.format(section=section)
 return url

def _instructor_dash_url ( course_key , section = None ) : url = reverse ( 'instructor_dashboard' , kwargs = { 'course_id' : unicode ( course_key ) } ) if ( section is not None ) : url += u'#view-{section}' . format ( section = section ) return url
return the url for a section in the instructor dashboard .