Hi Yoo,
Thank you for your detailed reply.
while I was waiting for some response. I did some research and I came up with
some model as below. Please go through it and suggest the changes.
from django.db import models
from django.contrib.auth.models import User
from django.template.defaultfilter
Have a Test model which as a unique identifier (BigAutoField). Get a Questions
model with a foreign key to a test and a charfield for the question itself (you
can add BrinIndex for optimization). You can add a booleanfield if the question
is optional and whatever else you need (like the correct
Hello Members,
I have below requirements for a project where I need to develop the model based
on "multiple Choice Questions". Below are the criteria:-
- Admin can create/edit/delete(soft delete only) a "Test" in the form of
MCQs.
- Admin can then create/edit/delete a "Question" to each
3 matches
Mail list logo