Save it!
This commit is contained in:
parent
2d58695ee4
commit
0aa198ba6c
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue