mirror of
https://github.com/Rushilwiz/ask-a-philosopher.git
synced 2025-04-17 18:50:17 -04:00
9 lines
171 B
Python
9 lines
171 B
Python
from django import forms
|
|
|
|
from .models import Question
|
|
|
|
|
|
class QuestionForm(forms.ModelForm):
|
|
class Meta:
|
|
model = Question
|
|
fields = ['name','question'] |