From e3308e19767ac1345c6c39459641c9a90677604b Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 6 Apr 2007 04:24:06 +0000 Subject: [PATCH] Fixed inconsistent indentation in localflavor/de/forms.py from [4922] git-svn-id: http://code.djangoproject.com/svn/django/trunk@4939 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/localflavor/de/forms.py | 48 +++++++++------------- tests/regressiontests/forms/localflavor.py | 12 +++--- 2 files changed, 26 insertions(+), 34 deletions(-) diff --git a/django/contrib/localflavor/de/forms.py b/django/contrib/localflavor/de/forms.py index c82d2d5b8d..8e140c125f 100644 --- a/django/contrib/localflavor/de/forms.py +++ b/django/contrib/localflavor/de/forms.py @@ -12,9 +12,9 @@ id_re = re.compile(r"^(?P\d{10})(?P\w{1,3})[-\ ]?(?P>> from django.contrib.localflavor.fr.forms import FRDepartmentSelect >>> w = FRDepartmentSelect() @@ -686,11 +686,11 @@ u'' >>> f.clean('') u'' -# FIMunicipalitySelect ############################################################### +# FIMunicipalitySelect ############################################################### -A Select widget that uses a list of Finnish municipalities as its choices. ->>> from django.contrib.localflavor.fi.forms import FIMunicipalitySelect ->>> w = FIMunicipalitySelect() +A Select widget that uses a list of Finnish municipalities as its choices. +>>> from django.contrib.localflavor.fi.forms import FIMunicipalitySelect +>>> w = FIMunicipalitySelect() >>> unicode(w.render('municipalities', 'turku')) u'' @@ -881,5 +881,5 @@ u'9786324830D-6104243-0910271-2' >>> f.clean('0434657485D-6407276-0508137-9') Traceback (most recent call last): ... -ValidationError: [u'Enter a valid German identity card number in XXXXXXXXXXX-XXXXXXX-XXXXXXX-X format'] +ValidationError: [u'Enter a valid German identity card number in XXXXXXXXXXX-XXXXXXX-XXXXXXX-X format.'] """