Opened 14 years ago

Closed 14 years ago

#14740 closed (duplicate)

CZ Localflavor clean() incorrectly calls parent __init__

Reported by: anonymous Owned by: nobody
Component: contrib.localflavor Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In cz/forms.py, see L54 and L111. At the beginning of clean(), the parent's __init__ is called instead of clean().

Patch attached. Discovered while converting doctests to unittests.

Change History (1)

comment:1 by Alex Gaynor, 14 years ago

Resolution: duplicate
Status: newclosed

Closing as a dupe of #14741

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