mirror of https://github.com/django/django.git
Fixed #8276: corrected another couple of names in localflavor.pl.forms. Patch by Piotr Lewandowski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
08024e9503
commit
1abfb1df19
|
@ -16,13 +16,13 @@ class PLProvinceSelect(Select):
|
|||
from pl_voivodeships import VOIVODESHIP_CHOICES
|
||||
super(PLProvinceSelect, self).__init__(attrs, choices=VOIVODESHIP_CHOICES)
|
||||
|
||||
class PLCountiesSelect(Select):
|
||||
class PLCountySelect(Select):
|
||||
"""
|
||||
A select widget with list of Polish administrative units as choices.
|
||||
"""
|
||||
def __init__(self, attrs=None):
|
||||
from pl_administrativeunits import ADMINISTRATIVE_UNIT_CHOICES
|
||||
super(PLCountiesSelect, self).__init__(attrs, choices=ADMINISTRATIVE_UNIT_CHOICES)
|
||||
super(PLCountySelect, self).__init__(attrs, choices=ADMINISTRATIVE_UNIT_CHOICES)
|
||||
|
||||
class PLPESELField(RegexField):
|
||||
"""
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue