From b67ed020c22c244ec652cd605bc10aaab300d14f Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 29 May 2008 12:28:40 +0000 Subject: [PATCH] newforms-admin: Fixed #6536 -- Corrected non-XHTML markup for image tag. Thanks to Johann Queuniet for the initial report, and Honza Kral for keeping the ticket up to date. git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7562 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py index 1db2174686..16b17071d2 100644 --- a/django/contrib/admin/widgets.py +++ b/django/contrib/admin/widgets.py @@ -101,7 +101,7 @@ class ForeignKeyRawIdWidget(forms.TextInput): # API to determine the ID dynamically. output.append(' ' % \ (related_url, url, name)) - output.append('Lookup' % settings.ADMIN_MEDIA_PREFIX) + output.append('Lookup' % settings.ADMIN_MEDIA_PREFIX) if value: output.append(self.label_for_value(value)) return mark_safe(u''.join(output))