def deconstruct(self):
        name, path, args, kwargs = super(ImageWithThumbsField, self).deconstruct()
        # Only include kwarg if it's not the default
        if self.thumbs:
            kwargs['thumbs'] = self.thumbs
        if self.thumbnail_format:
            kwargs['thumbnail_format'] = self.thumbnail_format
        if self.validators == [IMAGE_EXTENSION_VALIDATOR] and 'validators' in kwargs:
            del kwargs['validators']
        if 'storage' in kwargs:
            del kwargs['storage']
        return name, path, args, kwargs
dataset/ETHPy150Open gtaylor/django-athumb/athumb/fields.py/ImageWithThumbsField.deconstruct/original