From 18ecf9dc85394799932640b9607e74cbb1c32406 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 26 Feb 2007 17:50:21 +0000 Subject: [PATCH] Modified the test from [4609] to use a FileField instead of an ImageField (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 --- tests/regressiontests/bug639/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regressiontests/bug639/models.py b/tests/regressiontests/bug639/models.py index 30ca7e6326..7cfdfc82ef 100644 --- a/tests/regressiontests/bug639/models.py +++ b/tests/regressiontests/bug639/models.py @@ -3,7 +3,7 @@ from django.db import models 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.