Ooops.
This commit is contained in:
parent
98433be365
commit
f2b7ad63ca
|
@ -16,6 +16,7 @@ class FeedbackCreate(LoginRequiredMixin, CampViewMixin, CreateView):
|
||||||
def form_valid(self, form):
|
def form_valid(self, form):
|
||||||
feedback = form.save(commit=False)
|
feedback = form.save(commit=False)
|
||||||
feedback.user = self.request.user
|
feedback.user = self.request.user
|
||||||
|
feedback.camp = self.camp
|
||||||
feedback.save()
|
feedback.save()
|
||||||
thanks_message = "Thank you! Your feedback is highly appreciated!"
|
thanks_message = "Thank you! Your feedback is highly appreciated!"
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue