django-imagekit/imagekit/exceptions.py
Matthew Tretter 36313194ac Remove PILKit functionality
This commit removes the functionality now in the PILKit project, and
adds PILKit as a dependency. Import hooks have been used to expose the
processors under "imagekit.processors".
2013-02-07 23:10:05 -05:00

18 lines
316 B
Python

from pilkit.exceptions import UnknownExtension, UnknownFormat
class AlreadyRegistered(Exception):
pass
class NotRegistered(Exception):
pass
class MissingGeneratorId(Exception):
pass
# Aliases for backwards compatibility
UnknownExtensionError = UnknownExtension
UnknownFormatError = UnknownFormat