def get_random_objects(model, num):
    return _get_model(model)._default_manager.order_by('?')[:int(num)]
Retrieves ``num`` random objects from a given model, and stores
dataset/ETHPy150Open justquick/django-native-tags/native_tags/contrib/generic_content.py/get_random_objects