1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

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
This commit is contained in:
Adrian Holovaty 2005-11-22 05:00:53 +00:00
parent 2a8fa1534b
commit aa2d958e1d

View File

@ -173,7 +173,7 @@ class FormFieldWrapper:
return '' return ''
def get_id(self): def get_id(self):
return self.formfield.get_id() return self.formfield.get_id()
class FormFieldCollection(FormFieldWrapper): class FormFieldCollection(FormFieldWrapper):
"A utility class that gives the template access to a dict of FormFieldWrappers" "A utility class that gives the template access to a dict of FormFieldWrappers"
@ -320,7 +320,8 @@ class FormField:
def get_id(self): def get_id(self):
"Returns the HTML 'id' attribute for this form field." "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 # # GENERIC WIDGETS #
#################### ####################