def sendfile(request, filename, **kwargs):
    dirname = os.path.dirname(filename)
    basename = os.path.basename(filename)
    return serve(request, basename, dirname)
This functon handles the onKeyPress event, and will add the item in the text box to the list when the user presses the enter key.  In the future, this method will also handle the auto complete feature.
dataset/ETHPy150Open hzlf/openbroadcast/website/tools/sendfile/backends/development.py/sendfile--crossover with--dataset/ETHPy150Open anandology/pyjamas/examples/misc/djangoweb/media/WebPageEdit.py/WebPageEdit.onKeyPress