From 0aa198ba6ca10e4b3065c63bc9fcf6d94e7b506a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Mon, 20 Aug 2018 15:39:08 +0200 Subject: [PATCH] Save it! --- src/feedback/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/feedback/views.py b/src/feedback/views.py index 3fdb4c84..5783cb18 100644 --- a/src/feedback/views.py +++ b/src/feedback/views.py @@ -16,6 +16,7 @@ class FeedbackCreate(LoginRequiredMixin, CampViewMixin, CreateView): def form_valid(self, form): feedback = form.save(commit=False) feedback.user = self.request.user + feedback.save() thanks_message = "Thank you! Your feedback is highly appreciated!" try: token = Token.objects.get(