I have a list of strings I want to search for in my database, and I want my function to return the name of the field that contains the string:
for word in word_list:
if word in MyModel.objects.all():
return ??
How do I complete the function so that it accomplishes this?