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

Investigate why _post_clean needs to be called to pad reference_order #348

Open
tcouch opened this issue Sep 2, 2022 · 0 comments
Open

Comments

@tcouch
Copy link
Collaborator

tcouch commented Sep 2, 2022

form._post_clean() needs to be called explicitly during OriginalTextUpdateView's form_valid() method in order to get the zero-padded version of reference_order to be saved. This shouldn't be necessary though since the clean_reference_order method should pad the reference_order when the form is validated.

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

No branches or pull requests

1 participant