Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SuccessMessageMixin fully compatible with FormMixin #86

Merged
merged 1 commit into from Jul 2, 2019

Conversation

PeterJCLaw
Copy link
Contributor

This ensures that the order in which these mixins are included into a derrived class does not matter and ends up more accurately reflecting the return type of SuccessMessageMixin in the process (its code doesn't appear to enforce that the returned response is a redirect).

This provides a fix to a secondary aspect of https://github.com/mkurnikov/django-stubs/issues/79.

This ensures that the order in which these mixins are included
into a derrived class does not matter and ends up more accurately
reflecting the return type of SuccessMessageMixin in the process
(its code doesn't appear to enforce that the returned response
is a redirect).

This provides a fix to a secondary aspect of
https://github.com/mkurnikov/django-stubs/issues/79.
@mkurnikov mkurnikov merged commit 861c665 into typeddjango:master Jul 2, 2019
@PeterJCLaw PeterJCLaw deleted the fix-form-success-mixin branch May 26, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants