From aa2d958e1d2179ea01ed921e55db9a616223069c Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 22 Nov 2005 05:00:53 +0000 Subject: [PATCH] Tiny change to spacing in new-admin django.core.formfields, so it's identical to trunk version git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1345 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/formfields.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/django/core/formfields.py b/django/core/formfields.py index bca58253a9..de8f770ce0 100644 --- a/django/core/formfields.py +++ b/django/core/formfields.py @@ -173,7 +173,7 @@ class FormFieldWrapper: return '' def get_id(self): - return self.formfield.get_id() + return self.formfield.get_id() class FormFieldCollection(FormFieldWrapper): "A utility class that gives the template access to a dict of FormFieldWrappers" @@ -320,7 +320,8 @@ class FormField: def get_id(self): "Returns the HTML 'id' attribute for this form field." - return FORM_FIELD_ID_PREFIX + self.field_name + return FORM_FIELD_ID_PREFIX + self.field_name + #################### # GENERIC WIDGETS # ####################