UCL / frrant

2 stars 0 forks source link

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

Open tcouch opened 2 years ago

tcouch commented 2 years ago

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.