Ticket #14593: 14593_PendingDeprecationWarning.diff
File 14593_PendingDeprecationWarning.diff, 597 bytes (added by , 14 years ago) |
---|
-
django/contrib/localflavor/cz/forms.py
diff --git a/django/contrib/localflavor/cz/forms.py b/django/contrib/localflavor/cz/forms.py index 13a94af..320a2a8 100644
a b class CZBirthNumberField(Field): 73 73 import warnings 74 74 warnings.warn( 75 75 "Support for validating the gender of a CZ Birth number has been deprecated.", 76 DeprecationWarning)76 PendingDeprecationWarning) 77 77 if gender == 'f': 78 78 female_const = 50 79 79 elif gender == 'm':