changeset 86 | 404e9c1b8cff |
parent 85 | 451be7b1de20 |
85:451be7b1de20 | 86:404e9c1b8cff |
---|---|
1 from django import forms |
1 from django import forms |
2 |
2 |
3 from offline.event.models import Event, QUIZ_CHOICES |
3 from offline.event.models import Event, QUIZ_CHOICES |
4 from offline.quiz.models import TOPIC_CHOICES |
4 from offline.quiz.models import QuestionBank, TOPIC_CHOICES |
5 |
5 |
6 class EventCreateForm(forms.ModelForm): |
6 class EventCreateForm(forms.ModelForm): |
7 |
7 |
8 class Meta: |
8 class Meta: |
9 model = Event |
9 model = Event |