Ticket #14593: 14593_PendingDeprecationWarning.diff

File 14593_PendingDeprecationWarning.diff, 597 bytes (added by idangazit, 5 years ago)

Changes issued warning to PendingDeprecationWarning

  • 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): 
    7373            import warnings
    7474            warnings.warn(
    7575                "Support for validating the gender of a CZ Birth number has been deprecated.",
    76                 DeprecationWarning)
     76                PendingDeprecationWarning)
    7777            if gender == 'f':
    7878                female_const = 50
    7979            elif gender == 'm':
Back to Top