Re: randomizing objects in the view with pagination

2020-07-12 Thread Damanjeet Singh
Hello, I have been using random module (django-random-queryset) for site https://www.euroautozone.com. Performance is not bad. here is the code models.py class product(models.Model): ##Slug objects = RandomManager() Views.py query =

Re: randomizing objects in the view with pagination

2020-07-12 Thread MUGOYA DIHFAHSIH
Am anxiously waiting for the answer to this question cos i would like to do the same for my django web app On Sun, Jul 12, 2020, 19:46 John McClain wrote: > I have a marketplace with many sellers selling the same 3 products in > various values. In all the are 18 product type for sell on the

randomizing objects in the view with pagination

2020-07-12 Thread John McClain
I have a marketplace with many sellers selling the same 3 products in various values. In all the are 18 product type for sell on the platform with hundreds of sellers. I was randomizing the product category page when loaded so that items from all sellers could appear on the page. I was not using