def sendfile(request, filename, **kwargs):
    dirname = os.path.dirname(filename)
    basename = os.path.basename(filename)
    return serve(request, basename, dirname)
Send file using django dev static file server.
dataset/ETHPy150Open hzlf/openbroadcast/website/tools/sendfile/backends/development.py/sendfile