diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-25 12:47:19 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-25 12:47:19 +0000 |
| commit | 0ced8b0bb211fca38669293b15316930e0d648fd (patch) | |
| tree | a6f4733859aed03765c396f843770b503c36ec90 /django/newforms/forms.py | |
| parent | f4387422f0a556fb2469500fb9d408306bead02c (diff) | |
unicode: Merged from trunk up to [5530]. Oracle backend has not been ported to
support unicode yet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5531 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 7dd40b60aa..50e6f42108 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): """ |
