Moved event specific code from ChainedForm to EventCreateForm via
ModelMixin.
This commit is contained in:
@@ -256,7 +256,7 @@ class EventCreateView(generic.FormView):
|
||||
return context
|
||||
|
||||
def form_valid(self, form):
|
||||
event = form.save()
|
||||
event = form.get_instance()
|
||||
|
||||
next_form_name = form.next_form_name
|
||||
if next_form_name:
|
||||
|
||||
Reference in New Issue
Block a user