summaryrefslogtreecommitdiffstats
path: root/imagekit/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'imagekit/options.py')
-rw-r--r--imagekit/options.py23
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