Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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: http://code.djangoproject.com/svn/django/trunk@4613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 18ecf9dc85394799932640b9607e74cbb1c32406 1 parent 9368f67
Jacob Kaplan-Moss authored February 26, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tests/regressiontests/bug639/models.py
2  tests/regressiontests/bug639/models.py
@@ -3,7 +3,7 @@
3 3
 
4 4
 class Photo(models.Model):
5 5
     title = models.CharField(maxlength=30)
6  
-    image = models.ImageField(upload_to=tempfile.gettempdir())
  6
+    image = models.FileField(upload_to=tempfile.gettempdir())
7 7
     
8 8
     # Support code for the tests; this keeps track of how many times save() gets
9 9
     # called on each instance.

0 notes on commit 18ecf9d

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