Hello Lakshyaraj, I would create a app quiz with model quiz with a charfield. Then when get open 8 would get highesr id from model then randomizer and then get from database entity with this id. When you need 5 then get list of random 5 ids in this range and get all from database.
Then yoz render it back. Write if yoz have Problems in implementation Lakshyaraj Dash <dashlakshyaraj2...@gmail.com> schrieb am Mi., 16. Nov. 2022, 02:14: > Hello everyone, > I'm on my way to create a quiz app. I want that a loggedin user should get > 5 questions randomly when he/she is visiting everytime. > Eg: > On first visit > Q1. Who's the CEO of Facebook ? > > On second visit > Q2. Who's the CEO of Google ? > > Thanks and regards > Lakshyaraj Dash > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAF7qQgAAJinHYUKhY_M-Z0Y1ecrcHcWTyNHuHkSLdyV7QsFSqw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAF7qQgAAJinHYUKhY_M-Z0Y1ecrcHcWTyNHuHkSLdyV7QsFSqw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKGT9mzu%3Dn%3D%3D_aW3usfk7E7M4nkudWCwxJo4%3DqU4Ut_NuWFgAg%40mail.gmail.com.