Respected all

I'm currently working on building an Online Examination system. In
that there will be a Question Bank which contains hundreds of
questions about different questions. I represented them using Django
model class. From them I have to select 20 questions and render them
as question paper for the user.

For that I wrote a random function to pick up rows uniquely from the
database. Suppose that random function returned the primary key values
293, 333, 444, 642, 534

In "Views" I could able to get reference for first question by using
"questions = QuestionBank.objects.get(id =293)".
How to add other rows having primary key values 333, 444, 642 and 534
to "questions".

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to