def open_stored_file(value, url):
    upload = None
    result = deserialize_upload(value, url)
    filename = result['name']
    storage_class = result['storage']
    if storage_class and filename:
        storage = storage_class()
        if storage.exists(filename):
            upload = storage.open(filename)
            upload.name = os.path.basename(filename)
    return upload
Completely flush :attr:`model` from the database. No keys
dataset/ETHPy150Open caktus/django-sticky-uploads/stickyuploads/utils.py/open_stored_file--crossover with--dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/session.py/SessionModel.flush