Update fields.py

fix whitespace bug ..
This commit is contained in:
kakulukia 2014-09-19 14:18:51 +02:00
parent aa5809d1b7
commit 81d84fc897

View File

@ -988,7 +988,7 @@ class ImageField(FileField):
'invalid_image': _("Upload a valid image. The file you uploaded was "
"either not an image or a corrupted image."),
}
def __init__(self, *args, **kwargs):
self.show_url = kwargs.pop('show_url', False)
super(ImageField, self).__init__(*args, **kwargs)