'Load the course mode admin form.'

def _admin_form(self, mode, upgrade_deadline=None):

    course_mode = CourseModeFactory.create(course_id=self.course.id, mode_slug=mode)
    return CourseModeForm({'course_id': unicode(self.course.id), 'mode_slug': mode, 'mode_display_name': mode, '_expiration_datetime': upgrade_deadline, 'currency': 'usd', 'min_price': 10}, instance=course_mode)
