I have a Many-to-Many relationship between two models, Group and User
(not the ones from auth.) I can follow one of these relationships by
"group.get_user_list()" which makes sense, but when I try to filter it
according to a query (such as
"group.get_user_list(last_name__icontains=request.POST['query'])") I
get the error "method_get_many_to_many() got an unexpected keyword
argument 'last_name__icontains'" so I imagine I can't add the filter as
I would if I didn't have the foreign key relationship. How should I be
doing this?

Reply via email to