From 0ced8b0bb211fca38669293b15316930e0d648fd Mon Sep 17 00:00:00 2001
From: Malcolm Tredinnick
Date: Mon, 25 Jun 2007 12:47:19 +0000
Subject: 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
---
django/newforms/forms.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'django/newforms/forms.py')
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 s."
- return self._html_output(u'
%(label)s %(field)s%(help_text)s
', u'%s
', '
', u' %s', True)
+ return self._html_output(u'%(label)s %(field)s%(help_text)s
', u'%s', '', u' %s', True)
def non_field_errors(self):
"""
--
cgit v1.3