mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 13:50:24 +00:00
The registry module splits the work that specs.SpecRegistry used to do into two classes: GeneratorRegistry and SourceGroupRegistry. These two registries are wrapped in Register and Unregister utilities for API convenience.
18 lines
235 B
Python
18 lines
235 B
Python
class AlreadyRegistered(Exception):
|
|
pass
|
|
|
|
|
|
class NotRegistered(Exception):
|
|
pass
|
|
|
|
|
|
class UnknownExtensionError(Exception):
|
|
pass
|
|
|
|
|
|
class UnknownFormatError(Exception):
|
|
pass
|
|
|
|
|
|
class MissingGeneratorId(Exception):
|
|
pass
|