Author: jacob
Date: 2007-02-26 11:50:21 -0600 (Mon, 26 Feb 2007)
New Revision: 4613
Modified:
django/trunk/tests/regressiontests/bug639/models.py
Log:
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).
Modified: django/trunk/tests/regressiontests/bug639/models.py
===================================================================
--- django/trunk/tests/regressiontests/bug639/models.py 2007-02-26 17:43:41 UTC
(rev 4612)
+++ django/trunk/tests/regressiontests/bug639/models.py 2007-02-26 17:50:21 UTC
(rev 4613)
@@ -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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---