fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
questions/forms.py
@@ -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!