#NEWLINE# def sendfile( request , filename , **kwargs ) : #NEWLINE# #INDENT# '\n    Send file using django dev static file server.\n\n    DO NOT USE IN PRODUCTION\n    this is only to be used when developing and is provided\n    for convenience only\n    ' #NEWLINE# dirname = os . path . dirname ( filename ) #NEWLINE# basename = os . path . basename ( filename ) #NEWLINE# return serve ( request , basename , dirname )