3👍
Was able to accomplish this by simply filtering
result = Food.objects.filter(**{fruits + "__search": "apple"})
Source:stackexchange.com
3👍
Was able to accomplish this by simply filtering
result = Food.objects.filter(**{fruits + "__search": "apple"})