diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-03-02 14:10:51 +0000 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-03-02 14:10:51 +0000 |
commit | 6984f667947cc97a8c49626ee47537f3784010bb (patch) | |
tree | 005bf29b090fa033f99d459c362890e80384962c /imagekit/options.py | |
parent | 6f42bd51e1d9c3aa56678e7539ffb8168cdcf006 (diff) | |
download | troggle-django-upgrade-pt2.tar.gz troggle-django-upgrade-pt2.tar.bz2 troggle-django-upgrade-pt2.zip |
Updates required to move to django 1.8django-upgrade-pt2
Diffstat (limited to 'imagekit/options.py')
-rw-r--r-- | imagekit/options.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/imagekit/options.py b/imagekit/options.py deleted file mode 100644 index 022cc9e..0000000 --- a/imagekit/options.py +++ /dev/null @@ -1,23 +0,0 @@ -# Imagekit options -from imagekit import processors -from imagekit.specs import ImageSpec - - -class Options(object): - """ Class handling per-model imagekit options - - """ - image_field = 'image' - crop_horz_field = 'crop_horz' - crop_vert_field = 'crop_vert' - preprocessor_spec = None - cache_dir = 'cache' - save_count_as = None - cache_filename_format = "%(filename)s_%(specname)s.%(extension)s" - admin_thumbnail_spec = 'admin_thumbnail' - spec_module = 'imagekit.defaults' - - def __init__(self, opts): - for key, value in opts.__dict__.iteritems(): - setattr(self, key, value) - self.specs = []
\ No newline at end of file |