some work on questions
[prawokultury.git] / questions / forms.py
diff --git a/questions/forms.py b/questions/forms.py
new file mode 100755 (executable)
index 0000000..3a80db1
--- /dev/null
@@ -0,0 +1,8 @@
+from django.forms import ModelForm
+from .models import Question
+
+class QuestionForm(ModelForm):
+    class Meta:
+        model = Question
+        fields = ['email', 'question']
+        # TODO: honeypot!