mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
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".
18 lines
316 B
Python
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
|