Skip to content
Snippets Groups Projects
Commit 2753cce4 authored by Roang's avatar Roang
Browse files

Fix double get_form() call in ProjectFormMixin

parent 93d79076
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ class ProjectFormMixin(ConferenceLoginRequiredMixin, FormView):
def get_context_data(self, *args, **kwargs):
ctx = super().get_context_data(*args, **kwargs)
if 'form' not in kwargs:
if 'form' not in kwargs and 'form' not in ctx:
ctx['form'] = self.get_form()
if 'link_forms' not in kwargs:
ctx['link_forms'] = self.get_links_formset()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment