Django Using contains


Example

Pass a dict object to field_name__contains as a keyword argument.

Catalog.objects.filter(titles__contains={
        'Pro Git': 'Scott Chacon and Ben Straub'})
Equivalent to the SQL operator `@>`.