Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 618509335136478b547a5e719f3b66409edeebc2 1 parent b30ee21
Jacob Kaplan-Moss authored August 08, 2008
2  tests/regressiontests/admin_widgets/models.py
@@ -19,7 +19,7 @@ def __unicode__(self):
19 19
 class Album(models.Model):
20 20
     band = models.ForeignKey(Band)
21 21
     name = models.CharField(max_length=100)
22  
-    cover_art = models.ImageField(upload_to='albums')
  22
+    cover_art = models.FileField(upload_to='albums')
23 23
     
24 24
     def __unicode__(self):
25 25
         return self.name

0 notes on commit 6185093

Please sign in to comment.
Something went wrong with that request. Please try again.