Commit 9e6c4b32 authored by Sli's avatar Sli
Browse files

Merge branch 'bugfix' into 'master'

Fix error when editing poster while being admin

See merge request !245
parents 7be9077f 25225fc4
Pipeline #2069 passed with stage
in 27 minutes and 22 seconds
......@@ -739,7 +739,8 @@ class PosterEditBaseView(UpdateView):
def get_context_data(self, **kwargs):
kwargs = super(PosterEditBaseView, self).get_context_data(**kwargs)
kwargs["club"] = kwargs.get("club",
if hasattr(self, "club"):
kwargs["club"] =
return kwargs
def form_valid(self, form):
Markdown is supported
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