Moved event specific code from ChainedForm to EventCreateForm via
ModelMixin.
This commit is contained in:
1 parent
b1cdfe4803
commit
e669d5b55b
3 files changed
+36
-30
No files matched your search
@@ -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