[Python-modules-commits] r18822 - in packages/python-django/branches/squeeze/debian/patches (1 file)

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Thu Oct 6 12:01:38 UTC 2011


    Date: Thursday, October 6, 2011 @ 12:01:36
  Author: hertzog
Revision: 18822

Fix the non-regression test in the backported patch
11_fix_admin_file_widget.diff.

Modified:
  packages/python-django/branches/squeeze/debian/patches/11_fix_admin_file_widget.diff

Modified: packages/python-django/branches/squeeze/debian/patches/11_fix_admin_file_widget.diff
===================================================================
--- packages/python-django/branches/squeeze/debian/patches/11_fix_admin_file_widget.diff	2011-10-06 10:13:22 UTC (rev 18821)
+++ packages/python-django/branches/squeeze/debian/patches/11_fix_admin_file_widget.diff	2011-10-06 12:01:36 UTC (rev 18822)
@@ -28,7 +28,7 @@
 +            def __unicode__(self):
 +                return u'''something<div onclick="alert('oops')">.jpg'''
 +
-+        widget = AdminFileWidget()
++        widget = widgets.AdminFileWidget()
 +        field = StrangeFieldFile()
 +        output = widget.render('myfile', field)
 +        self.assertFalse(field.url in output)




More information about the Python-modules-commits mailing list