https://mefiz.com/ # For Developer modelName.objects.all().order_by('?')
https://mefiz.com/ #for Developer import random my_list = list(mymodel.objects.all()) random.shuffle(my_list)