Re: reg: django Model for MCQs type project

2019-11-21 Thread 'Amitesh Sahay' via Django users
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

Re: reg: django Model for MCQs type project

2019-11-20 Thread Yoo
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

reg: django Model for MCQs type project

2019-11-19 Thread 'Amitesh Sahay' via Django users
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