Ticket #8276: polish_forms_r8521.diff

File polish_forms_r8521.diff, 891 bytes (added by Manuel Saelices, 16 years ago)

A patch that fixes typo error

  • django/contrib/localflavor/pl/forms.py

     
    1616        from pl_voivodeships import VOIVODESHIP_CHOICES
    1717        super(PLProvinceSelect, self).__init__(attrs, choices=VOIVODESHIP_CHOICES)
    1818
    19 class PLCountiesSelect(Select):
     19class PLCountySelect(Select):
    2020    """
    2121    A select widget with list of Polish administrative units as choices.
    2222    """
    2323    def __init__(self, attrs=None):
    2424        from pl_administrativeunits import ADMINISTRATIVE_UNIT_CHOICES
    25         super(PLCountiesSelect, self).__init__(attrs, choices=ADMINISTRATIVE_UNIT_CHOICES)
     25        super(PLCountySelect, self).__init__(attrs, choices=ADMINISTRATIVE_UNIT_CHOICES)
    2626
    2727class PLPESELField(RegexField):
    2828    """
Back to Top