Commit 28ac6bc2 authored by Marthijn van den Nieuwenhuizen's avatar Marthijn van den Nieuwenhuizen
Browse files

Success message added upon successful exam or summary submission

parent eb1884d1
...@@ -206,7 +206,7 @@ class SummaryCreateView(CreateView): ...@@ -206,7 +206,7 @@ class SummaryCreateView(CreateView):
self.object.uploader = self.request.member self.object.uploader = self.request.member
self.object.uploader_date = datetime.now() self.object.uploader_date = datetime.now()
self.object.save() self.object.save()
super().form_valid(form) return super().form_valid(form)
@method_decorator(login_required, "dispatch") @method_decorator(login_required, "dispatch")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment