Field Lookups

From Field lookups

exact
iexact
contains
icontains

in

Entry.objects.filter(id__in=[1, 3, 4])
gt
gte
lt
lte

startswith

Product.objects.filter(slug__startswith='ACF_')
istartswith
endswith
iendswith
range
year
month
day
week_day
isnull
search
regex
iregex

Fields

FileField

To find FileField which contain data:

Documents.objects.exclude(document_file='')