<s> from thumbnails . conf import settings <EOL> from thumbnails . images import Thumbnail <EOL> from . base import BaseThumbnailEngine <EOL> class DummyEngine ( BaseThumbnailEngine ) : <EOL> """<STR_LIT>""" <EOL> def create ( self , original , size , crop , options = None ) : <EOL> thumbnail = Thumbnail ( '<STR_LIT>' . format ( size [ <NUM_LIT:0> ] , size [ <NUM_LIT:1> ] ) ) <EOL> thumbnail . size = size <EOL> thumbnail . _url = self . _get_url ( size ) <EOL> return thumbnail <EOL> def _get_url ( self , size ) : <EOL> return settings . THUMBNAIL_DUMMY_URL . format ( width = size [ <NUM_LIT:0> ] , height = size [ <NUM_LIT:1> ] ) <EOL> def cleanup ( self , original ) : <EOL> pass </s>
