Skip to content
Browse files

Modified the test from [4609] to use a FileField instead of an ImageF…

…ield (so that you don't have to have PIL installed to run the unit tests).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 9368f67 commit 18ecf9dc85394799932640b9607e74cbb1c32406 @jacobian jacobian committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/bug639/
2 tests/regressiontests/bug639/
@@ -3,7 +3,7 @@
class Photo(models.Model):
title = models.CharField(maxlength=30)
- image = models.ImageField(upload_to=tempfile.gettempdir())
+ image = models.FileField(upload_to=tempfile.gettempdir())
# Support code for the tests; this keeps track of how many times save() gets
# called on each instance.

0 comments on commit 18ecf9d

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