mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +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:
parent
2a8fa1534b
commit
aa2d958e1d
@ -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 #
|
||||
####################
|
||||
|
Loading…
x
Reference in New Issue
Block a user