Permalink
Browse files

Fixed #8276: corrected another couple of names in localflavor.pl.form…

…s. Patch by Piotr Lewandowski.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 08024e9 commit 1abfb1df19d7a5722a190cb9988e27fc729bb788 @jacobian jacobian committed Aug 27, 2008
Showing with 5 additions and 5 deletions.
  1. +2 −2 django/contrib/localflavor/pl/forms.py
  2. +3 −3 tests/regressiontests/forms/localflavor/pl.py
@@ -16,13 +16,13 @@ def __init__(self, attrs=None):
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):
"""
Oops, something went wrong.

0 comments on commit 1abfb1d

Please sign in to comment.