Pass a dict object to field_name__contains as a keyword argument.
dict
field_name__contains
Catalog.objects.filter(titles__contains={ 'Pro Git': 'Scott Chacon and Ben Straub'})