From 618509335136478b547a5e719f3b66409edeebc2 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 8 Aug 2008 23:06:28 +0000 Subject: [PATCH] Use a FileField instead of an ImageField in the admin_widgets test so that folks without PIL can still run the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8255 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_widgets/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regressiontests/admin_widgets/models.py b/tests/regressiontests/admin_widgets/models.py index 544806f819..af72422849 100644 --- a/tests/regressiontests/admin_widgets/models.py +++ b/tests/regressiontests/admin_widgets/models.py @@ -19,7 +19,7 @@ class Band(models.Model): class Album(models.Model): band = models.ForeignKey(Band) name = models.CharField(max_length=100) - cover_art = models.ImageField(upload_to='albums') + cover_art = models.FileField(upload_to='albums') def __unicode__(self): return self.name