mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
Update fields.py
fix whitespace bug ..
This commit is contained in:
parent
aa5809d1b7
commit
81d84fc897
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user