Verified Commit 25225fc4 authored by Sli's avatar Sli
Browse files

com: fix error when editing poster while being admin

parent 7be9077f
Pipeline #2068 passed with stage
in 27 minutes and 17 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