Renamed config to defaults and modified a couple of default options

This commit is contained in:
Justin Driscoll 2009-02-26 09:59:05 -05:00
parent 54903c7e77
commit 82bd312baf
3 changed files with 3 additions and 2 deletions

View file

@ -4,4 +4,5 @@ syntax: glob
.svn
*.pyc
*.db
*.orig
.DS_Store

View file

@ -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():