Skip to content
Snippets Groups Projects
Commit beeda892 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Apply suggestion to aleksis/core/mixins.py

parent 38e6974d
No related branches found
No related tags found
1 merge request!299Resolve "Link data to school term"
Pipeline #2705 passed
......@@ -293,7 +293,6 @@ class SuccessMessageMixin(ModelFormMixin):
success_message: Optional[str] = None
def form_valid(self, form: BaseForm) -> HttpResponse:
print("Hi")
if self.success_message:
messages.success(self.request, self.success_message)
return super().form_valid(form)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment