diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-07-01 01:17:51 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-07-01 01:17:51 +0000 |
| commit | 6f4e933fcc78da11ec43214efd3472192030eced (patch) | |
| tree | d92140118d3afa00bcd909f475dd1a694c15c08f /django/newforms/forms.py | |
| parent | 7a981380def046f753ff70a7c25efcd781ff6ac6 (diff) | |
newforms-admin: Merged to [5571]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/newforms/forms.py')
| -rw-r--r-- | django/newforms/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/newforms/forms.py b/django/newforms/forms.py index c15d26ece5..f87f950f04 100644 --- a/django/newforms/forms.py +++ b/django/newforms/forms.py @@ -159,7 +159,7 @@ class BaseForm(StrAndUnicode): def as_p(self): "Returns this form rendered as HTML <p>s." - return self._html_output(u'<p>%(label)s %(field)s%(help_text)s</p>', u'<p>%s</p>', '</p>', u' %s', True) + return self._html_output(u'<p>%(label)s %(field)s%(help_text)s</p>', u'%s', '</p>', u' %s', True) def non_field_errors(self): """ |
