Closed
Description
Hello!
I have added StdImageField to a model, simple one:
photo = StdImageField(
verbose_name=_('image'),
upload_to=UploadToClassNameDirUUID(),
blank=True,
)
When I do a query on that model with only('<some_other_field>')
Django will create additional query to fetch an image:
Is is possible to avoid that fetch? I know I could just add photo
to only()
but it's a workaround that would only create confusion in my code.