Django

Code

Changeset 4613

Show
Ignore:
Timestamp:
02/26/07 11:50:21 (2 years ago)
Author:
jacob
Message:

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).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/tests/regressiontests/bug639/models.py

    r4609 r4613  
    44class Photo(models.Model): 
    55    title = models.CharField(maxlength=30) 
    6     image = models.ImageField(upload_to=tempfile.gettempdir()) 
     6    image = models.FileField(upload_to=tempfile.gettempdir()) 
    77     
    88    # Support code for the tests; this keeps track of how many times save() gets