Here is the code from an other post :
from random import randint
count = article.objects.all().count()
random_index = randint(0, count - 1)
all_articles_query = article.objects.all()
article = all_articles_query[random_index]
but now i would like to remove article from the list all_articles_query, and multiple time. I would like to sort a list of article then a random article and each time i sort a random article to move it from the list of article.
I would like to get all article one by one but in a random way.
Regards