<s> from django . utils . functional import LazyObject <EOL> from sorl . thumbnail . conf import settings <EOL> from sorl . thumbnail . helpers import get_module_class <EOL> class Backend ( LazyObject ) : <EOL> def _setup ( self ) : <EOL> self . _wrapped = get_module_class ( settings . THUMBNAIL_BACKEND ) ( ) <EOL> class KVStore ( LazyObject ) : <EOL> def _setup ( self ) : <EOL> self . _wrapped = get_module_class ( settings . THUMBNAIL_KVSTORE ) ( ) <EOL> class Engine ( LazyObject ) : <EOL> def _setup ( self ) : <EOL> self . _wrapped = get_module_class ( settings . THUMBNAIL_ENGINE ) ( ) <EOL> class Storage ( LazyObject ) : <EOL> def _setup ( self ) : <EOL> self . _wrapped = get_module_class ( settings . THUMBNAIL_STORAGE ) ( ) <EOL> backend = Backend ( ) <EOL> kvstore = KVStore ( ) <EOL> engine = Engine ( ) <EOL> storage = Storage ( ) </s>
