mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
10 lines
370 B
Python
10 lines
370 B
Python
from .fields import ImageSpecField, ProcessedImageField
|
|
import warnings
|
|
|
|
|
|
class ImageSpec(ImageSpecField):
|
|
def __init__(self, *args, **kwargs):
|
|
warnings.warn('ImageSpec has been moved to'
|
|
' imagekit.models.ImageSpecField. Please use that instead.',
|
|
DeprecationWarning)
|
|
super(ImageSpec, self).__init__(*args, **kwargs)
|