summaryrefslogtreecommitdiff
path: root/django/forms/models.py
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2009-05-29 05:23:50 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2009-05-29 05:23:50 +0000
commit419747d1c8363f06a143429ffe58e67f2f217b5e (patch)
tree197227aad944a0501afd4a6040ef6c857cad763b /django/forms/models.py
parentbd58a3972b288aa335b87932ed3db72840215f6d (diff)
Fixed a few Python 2.3 incompatibilities that were causing test failures.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/forms/models.py')
-rw-r--r--django/forms/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py
index a0b217860d..8e9c0de0e7 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -584,7 +584,7 @@ class BaseModelFormSet(BaseFormSet):
else:
return ugettext("Please correct the duplicate data for %(field)s, "
"which must be unique.") % {
- "field": get_text_list(unique_check, _("and")),
+ "field": get_text_list(unique_check, unicode(_("and"))),
}
def get_date_error_message(self, date_check):