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

[BUGFIX] Reset self.object on form_invalid #496

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

kfdm
Copy link
Collaborator

@kfdm kfdm commented Apr 16, 2024

self.object will be configured in form_invalid, so we can remove it from the top. We want to ensure that self.object is clean when we have to re-render the page on failed submission, so we move it to form_invalid

self.object will be configured in form_invalid, so we can remove it from
the top. We want to ensure that self.object is clean when we have to
re-render the page on failed submission, so we move it to form_invalid
@kfdm kfdm requested a review from a team as a code owner April 16, 2024 06:32
@kfdm kfdm merged commit 600732c into line:master Apr 16, 2024
5 checks passed
@kfdm kfdm deleted the rule-update-invalid-reset branch April 16, 2024 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants