StrategyWrapper was unnecessarily implemented as a LazyObject
and it triggered a bug in Django (issue 21840).
Changing the lazy object to a function works just as well and
bypasses the bug.
* release/3.2:
Bump the version to 3.2.
Use signal.connect for backwards compat
Add Venelin Stoykov to AUTHORS
Improve logic of contributing ImageSpecFields to Models
Use force_bytes from imagekit.lib in test_cachefiles
Remove @vstoykov's note. Seems like the right place to me (:
Move force_bytes into lib module
Don't use a raw string with \u escapes
Fix sanitizing cache key under Python 3
Add module to sys.modules
Test for Python 3
Insert importer at beginning of list
Delay Django import until needed
Add Python 3 suport and drop support for Python 2.5
* 'python3' of https://github.com/vstoykov/django-imagekit:
Add Venelin Stoykov to AUTHORS
Improve logic of contributing ImageSpecFields to Models
Use force_bytes from imagekit.lib in test_cachefiles
Remove @vstoykov's note. Seems like the right place to me (:
Move force_bytes into lib module
Don't use a raw string with \u escapes
Fix sanitizing cache key under Python 3
Add module to sys.modules
Test for Python 3
Insert importer at beginning of list
Delay Django import until needed
Add Python 3 suport and drop support for Python 2.5
Conflicts:
imagekit/cachefiles/__init__.py
- If `source` is defined then register source group immediately
- If `source` is not defined then create a signal handler and attach it to
`class_prepared` signal which will see if there is only one ImageField in
the given model.
This will fix problems coused in Python 3 about using ImageSpecField
without providing a `source`.
* release/3.0.4:
Bump the version to 3.0.4.
Add __getstate__ method to ImageCacheFile
Update IMAGEKIT_DEFAULT_FILE_STORAGE description
Discover image generators during lookup
Added global boolean to prevent autodiscover() from being called more than once.
Update fields.py
Run tests with Django 1.5
* release/3.0.2:
Removing the changelog. Changelogs are hard.
Bump to 3.0.2.
Use == for comparison
Don't mutate __dict__
Don't require source in __setstate__; fixes#234
Add (failing) test for #234
Don't include cache in serialization of backend
Fixed name of spec id attr