Skip to content

Commit

Permalink
Use a FileField instead of an ImageField in the admin_widgets test so…
Browse files Browse the repository at this point in the history
… 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
jacobian committed Aug 8, 2008
1 parent b30ee21 commit 6185093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressiontests/admin_widgets/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6185093

Please sign in to comment.