Start
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from django import forms
|
||||
|
||||
from .models import UserAnswer, AnatomyQuestion
|
||||
|
||||
|
||||
class AnatomyAnswerForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = UserAnswer
|
||||
fields = ("answer",)
|
||||
|
||||
|
||||
class MarkAnatomyQuestionForm(forms.Form):
|
||||
# correct = forms.CharField(required=False)
|
||||
# half_correct = forms.CharField(required=False)
|
||||
# incorrect = forms.CharField(required=False)
|
||||
marked_answers = forms.CharField(required=False)
|
||||
Reference in New Issue
Block a user