diff --git a/django/contrib/localflavor/cz/forms.py b/django/contrib/localflavor/cz/forms.py index 320a2a8c49..13a94af05c 100644 --- a/django/contrib/localflavor/cz/forms.py +++ b/django/contrib/localflavor/cz/forms.py @@ -73,7 +73,7 @@ class CZBirthNumberField(Field): import warnings warnings.warn( "Support for validating the gender of a CZ Birth number has been deprecated.", - PendingDeprecationWarning) + DeprecationWarning) if gender == 'f': female_const = 50 elif gender == 'm':