mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-08 07:30:57 +00:00
16 lines
305 B
Python
16 lines
305 B
Python
# Imagekit options
|
|
import os
|
|
import os.path
|
|
|
|
|
|
class Options(object):
|
|
""" Class handling per-model imagekit options
|
|
|
|
"""
|
|
|
|
preprocessor_spec = None
|
|
save_count_as = None
|
|
|
|
def __init__(self, opts):
|
|
for key, value in opts.__dict__.iteritems():
|
|
setattr(self, key, value)
|