#NEWLINE# def file_download( request , language = None , file_id = None ) : #NEWLINE# #INDENT# 'Delivers files to the browser.\n    ' #NEWLINE# download_file = lfs_get_object_or_404 ( File , pk = file_id ) #NEWLINE# response = HttpResponse ( request . file , content_type = 'application/binary' ) #NEWLINE# response [ 'Content-Disposition' ] = ( 'attachment; filename=%s' % download_file . title ) #NEWLINE# return response