mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
As mentioned in #167, we want to be forward thinking and allow for a hypothetical spec supertype which has the same functionality as an image spec but doesn't require a source file: a generator. To this end, I've renamed `ImageSpec.apply()` to `ImageSpec.generate()` and extracted a `GeneratedImageCacheFile` base class from `ImageSpecCacheFile`, which supports the more general interface of a generator--namely, a `generate()` method with arbitrary args and kwargs. |
||
|---|---|---|
| .. | ||
| forms | ||
| imagecache | ||
| management | ||
| models | ||
| processors | ||
| specs | ||
| templates/imagekit/admin | ||
| templatetags | ||
| __init__.py | ||
| admin.py | ||
| conf.py | ||
| exceptions.py | ||
| files.py | ||
| lib.py | ||
| pkgmeta.py | ||
| signals.py | ||
| utils.py | ||