from django import forms
from .import models


class Add_question(forms.ModelForm):
    class Meta:
        model=models.Question
        fields=["question_text","option1","option2","option3","option4","answer","subject","chapter","subtopic","exam"]

e2f394bfe152054d1e5215a84401ba6c92ce74e6
<mask token>

<mask token>


class Add_question(forms.ModelForm):


    class Meta:
        model = models.Question
        fields = ['question_text', 'option1', 'option2', 'option3',
            'option4', 'answer', 'subject', 'chapter', 'subtopic', 'exam']

from django import forms
from . import models


class Add_question(forms.ModelForm):


    class Meta:
        model = models.Question
        fields = ['question_text', 'option1', 'option2', 'option3',
            'option4', 'answer', 'subject', 'chapter', 'subtopic', 'exam']

from django import forms
from .import models


class Add_question(forms.ModelForm):
    class Meta:
        model=models.Question
        fields=["question_text","option1","option2","option3","option4","answer","subject","chapter","subtopic","exam"]
