def get_random_object(model):
    try:
        return _get_model(model)._default_manager.order_by('?')[0]
    except IndexError:
        return ''
If bundle is a single file, get file contents.
dataset/ETHPy150Open justquick/django-native-tags/native_tags/contrib/generic_content.py/get_random_object--crossover with--dataset/ETHPy150Open codalab/codalab-cli/codalab/rest/legacy.py/BundleService.get_bundle_file_contents