Re: Dynamic Set

2020-08-16 Thread RANGA BHARATH JINKA
Hi, Try this. All the best. https://stackoverflow.com/questions/962619/how-to-pull-a-random-record-using-djangos-orm On Sun, Aug 16, 2020 at 5:20 PM Soumen Khatua wrote: > Hi Folks, > > In my database under Quiz-A: a user can update 5 MCQ questions and another > user can update 6 questions,

Dynamic Set

2020-08-16 Thread Soumen Khatua
Hi Folks, In my database under Quiz-A: a user can update 5 MCQ questions and another user can update 6 questions, so basically it is dynamic. So how can I show this question in a template and then How can I validate the right answer using Django,can anyone tell me,please? Actually I spent multipl

Creating a Dynamic set of choices in Admin

2006-10-31 Thread MerMer
Is it possible to set up Dynamic set of choices. Suppose I have a Model which requires two additional fields. The first is a foreign key to USER. The second field needs be dynamically populated depending on what is entered into the User Field. I cant see how this can be achieved. Is there

Re: Creating a Dynamic set of choices in Admin

2006-10-31 Thread patrickk
ble to set up Dynamic set of choices. > > Suppose I have a Model which requires two additional fields. The > first > is a foreign key to USER. The second field needs be dynamically > populated depending on what is entered into the User Field. > > I cant see how this can be