Opened 10 years ago

Closed 10 years ago

#3303 closed defect (fixed)

[patch] Cleaning the newforms fields `clean` methods

Reported by: Chris Beaven Owned by: Adrian Holovaty
Component: Forms Version:
Severity: normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Small patch to clean up some inconsistencies with the clean methods of fields in newforms.

(an outstanding inconsistency that I did not address in this patch is that sometimes super(fieldname, self).clean is used, other times Field.clean is used)

Attachments (1)

clean_clean.patch (2.2 KB) - added by Chris Beaven 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Chris Beaven

Attachment: clean_clean.patch added

comment:1 Changed 10 years ago by Chris Beaven

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [4367]) Fixed #3303 -- Cleaned some newforms clean() method implementations. Thanks for the patch, SmileyChris

Note: See TracTickets for help on using tickets.
Back to Top