def _asset_index(request, course_key):
 course_module = modulestore().get_course(course_key)
 return render_to_response('asset_index.html', {'context_course': course_module, 'max_file_size_in_mbs': settings.MAX_ASSET_UPLOAD_FILE_SIZE_IN_MB, 'chunk_size_in_mbs': settings.UPLOAD_CHUNK_SIZE_IN_MB, 'max_file_size_redirect_url': settings.MAX_ASSET_UPLOAD_FILE_SIZE_URL, 'asset_callback_url': reverse_course_url('assets_handler', course_key)})

def _asset_index ( request , course_key ) : course_module = modulestore ( ) . get_course ( course_key ) return render_to_response ( 'asset_index.html' , { 'context_course' : course_module , 'max_file_size_in_mbs' : settings . MAX_ASSET_UPLOAD_FILE_SIZE_IN_MB , 'chunk_size_in_mbs' : settings . UPLOAD_CHUNK_SIZE_IN_MB , 'max_file_size_redirect_url' : settings . MAX_ASSET_UPLOAD_FILE_SIZE_URL , 'asset_callback_url' : reverse_course_url ( 'assets_handler' , course_key ) } )
display an editable asset library .