django-imagekit/tests/models.py
Bryan Veloso 9af96b4098 Creating a dedicated tests directory.
Moves tests.py out of the main module. Still a work in progress.
2011-09-09 16:33:42 -07:00

15 lines
293 B
Python

from django.db import models
from imagekit import processors
from imagekit.models import ImageModel
class TestPhoto(ImageModel):
"""
Minimal ImageModel class for testing.
"""
image = models.ImageField(upload_to='images')
class IKOptions:
spec_module = 'specs'