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.
form._post_clean()
needs to be called explicitly duringOriginalTextUpdateView
'sform_valid()
method in order to get the zero-padded version of reference_order to be saved. This shouldn't be necessary though since theclean_reference_order
method should pad the reference_order when the form is validated.