Maybe the category you are sending request to contains only one matching question in db?
On Wed, Nov 16, 2022, 7:30 PM Lakshyaraj Dash <dashlakshyaraj2006@gmail.com> wrote:
Nice apiBut it generates only one question.--On Wed, 16 Nov, 2022, 18:38 Bhuvnesh Sharma, <bhuvnesh875@gmail.com> wrote:Hi lakshayaraj,Just in case you need api for the quiz app, you can checkout the open db i created for storing questions and answers. Link:- http://quizry.in/Thanks and Regards--On Wed, Nov 16, 2022, 6:00 PM Sebastian Jung <sebastian.jung2@gmail.com> wrote: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 <dashlakshyaraj2006@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 visitQ1. Who's the CEO of Facebook ?On second visitQ2. Who's the CEO of Google ?Thanks and regardsLakshyaraj 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF7qQgAAJinHYUKhY_M-Z0Y1ecrcHcWTyNHuHkSLdyV7QsFSqw%40mail.gmail.com.
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+unsubscribe@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.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BZJHEr3BF5FQNE_hBY%2BQwC3%2Bupu-DyA-io-2UyFtOTOPhhcgQ%40mail.gmail.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF7qQgAkg1MGPHPrXwsWB9GFiOJp99K1ERfC1Z3KDOJxjxkR4g%40mail.gmail.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BZJHEpPchVPjKCr-ZSQ88ZngHEe%3DFk%3D5-GYbEuz5NnSYvLfBg%40mail.gmail.com.
No comments:
Post a Comment