Skip to content
Browse files

[1.2.X] CZ Localflavor clean() incorrectly called super.__init__. Tha…

…nks for the report and patch idangazit!

Backport of r14660 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d04ffd7 commit 4d7525c5b1d9503f0f447538409d24a28033763f @HonzaKral HonzaKral committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/localflavor/cz/
4 django/contrib/localflavor/cz/
@@ -51,7 +51,7 @@ class CZBirthNumberField(Field):
def clean(self, value, gender=None):
- super(CZBirthNumberField, self).__init__(value)
+ super(CZBirthNumberField, self).clean(value)
if value in EMPTY_VALUES:
return u''
@@ -108,7 +108,7 @@ class CZICNumberField(Field):
def clean(self, value):
- super(CZICNumberField, self).__init__(value)
+ super(CZICNumberField, self).clean(value)
if value in EMPTY_VALUES:
return u''

0 comments on commit 4d7525c

Please sign in to comment.
Something went wrong with that request. Please try again.