add privacy link
[prawokultury.git] / questions / forms.py
index 02c37c5..77ea6e7 100755 (executable)
@@ -7,4 +7,8 @@ class QuestionForm(ModelForm):
     class Meta:
         model = Question
         fields = ['email', 'question']
-        # TODO: honeypot!
+
+    def save(self, *args, **kwargs):
+        instance = super(QuestionForm, self).save(*args, **kwargs)
+        instance.ack_author()
+        return instance