Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #14741 -- CZ Localflavor clean() incorrectly called super.__ini…

…t__. Thanks for the report and patch idangazit!

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 14abb7c52c128c1ce903d8cfb295f9324081ad39 1 parent 70b3ac1
@HonzaKral HonzaKral authored
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''
Please sign in to comment.
Something went wrong with that request. Please try again.