def _section_extensions(course):
 section_data = {'section_key': 'extensions', 'section_display_name': _('Extensions'), 'units_with_due_dates': [(title_or_url(unit), unicode(unit.location)) for unit in get_units_with_due_date(course)], 'change_due_date_url': reverse('change_due_date', kwargs={'course_id': unicode(course.id)}), 'reset_due_date_url': reverse('reset_due_date', kwargs={'course_id': unicode(course.id)}), 'show_unit_extensions_url': reverse('show_unit_extensions', kwargs={'course_id': unicode(course.id)}), 'show_student_extensions_url': reverse('show_student_extensions', kwargs={'course_id': unicode(course.id)})}
 return section_data

def _section_extensions ( course ) : section_data = { 'section_key' : 'extensions' , 'section_display_name' : _ ( 'Extensions' ) , 'units_with_due_dates' : [ ( title_or_url ( unit ) , unicode ( unit . location ) ) for unit in get_units_with_due_date ( course ) ] , 'change_due_date_url' : reverse ( 'change_due_date' , kwargs = { 'course_id' : unicode ( course . id ) } ) , 'reset_due_date_url' : reverse ( 'reset_due_date' , kwargs = { 'course_id' : unicode ( course . id ) } ) , 'show_unit_extensions_url' : reverse ( 'show_unit_extensions' , kwargs = { 'course_id' : unicode ( course . id ) } ) , 'show_student_extensions_url' : reverse ( 'show_student_extensions' , kwargs = { 'course_id' : unicode ( course . id ) } ) } return section_data
provide data for the corresponding dashboard section .