Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/admin_widgets/models.py
View
2  tests/regressiontests/admin_widgets/models.py
@@ -19,7 +19,7 @@ def __unicode__(self):
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
Please sign in to comment.
Something went wrong with that request. Please try again.