31👍
✅
Nevermind – it’s just
models.MyModel.objects.filter(image='myfile.jpg')
a separate issue was causing me to think this wasn’t working, but in fact it is.
Source:stackexchange.com