How do I use a string as a keyword argument? April 19, 2023 by Tarik d = Image.objects.filter(**{'image__endswith': "jpg"})