Is there a way to compare 2 different lists. Specifically, I want to compare if the first 2 alphabets in the first list exist as the first 2 alphabets in the second list. Example list1=[ dog , cat , chicken ] list2=[ drew , car , table ] So I want to know if the first 2 alphabets in each of the list1 is also the first 2 alphabets in each of list 2.
Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...