Ooops.
This commit is contained in:
parent
98433be365
commit
f2b7ad63ca
|
@ -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.camp = self.camp
|
||||
feedback.save()
|
||||
thanks_message = "Thank you! Your feedback is highly appreciated!"
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue