mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-29 17:14:42 +00:00
Renamed config to defaults and modified a couple of default options
This commit is contained in:
parent
54903c7e77
commit
82bd312baf
3 changed files with 3 additions and 2 deletions
|
|
@ -4,4 +4,5 @@ syntax: glob
|
|||
.svn
|
||||
*.pyc
|
||||
*.db
|
||||
*.orig
|
||||
.DS_Store
|
||||
|
|
@ -11,11 +11,11 @@ class Options(object):
|
|||
crop_horz_field = 'crop_horz'
|
||||
crop_vert_field = 'crop_vert'
|
||||
preprocessor_spec = None
|
||||
cache_dir = 'images'
|
||||
cache_dir = 'cache'
|
||||
save_count_as = None
|
||||
cache_filename_format = "%(filename)s_%(specname)s.%(extension)s"
|
||||
admin_thumbnail_spec = 'admin_thumbnail'
|
||||
spec_module = 'imagekit.config'
|
||||
spec_module = 'imagekit.defaults'
|
||||
|
||||
def __init__(self, opts):
|
||||
for key, value in opts.__dict__.iteritems():
|
||||
|
|
|
|||
Loading…
Reference in a new issue