mirror of https://github.com/django/django.git
Advanced deprecations in contrib.localflavor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
765458363b
commit
c349aad412
|
@ -73,7 +73,7 @@ class CZBirthNumberField(Field):
|
||||||
import warnings
|
import warnings
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"Support for validating the gender of a CZ Birth number has been deprecated.",
|
"Support for validating the gender of a CZ Birth number has been deprecated.",
|
||||||
PendingDeprecationWarning)
|
DeprecationWarning)
|
||||||
if gender == 'f':
|
if gender == 'f':
|
||||||
female_const = 50
|
female_const = 50
|
||||||
elif gender == 'm':
|
elif gender == 'm':
|
||||||
|
|
Loading…
Reference in New Issue