You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was tracking down, why self.object wasn't available in my view (deriving from BSModalCreateView) during get_success_url(), as in Django's BaseCreateView.form_valid(form) the default behaviour is to set self.object = form.save().
However, in django-bootstrap-modal-forms form_valid is shadowed by FormValidationMixin which currently fails to either
replicate the behaviour or
call the super() function.
The text was updated successfully, but these errors were encountered:
I was tracking down, why self.object wasn't available in my view (deriving from BSModalCreateView) during
get_success_url()
, as in Django'sBaseCreateView.form_valid(form)
the default behaviour is to setself.object = form.save()
.However, in django-bootstrap-modal-forms form_valid is shadowed by FormValidationMixin which currently fails to either
The text was updated successfully, but these errors were encountered: