Greater than >
Greater than or equal to >=
Be careful : All the above are double underlined , What is written below is also double underlined
Less than <
Less than or equal to <=
Exactly equal to like 'aaa'
Exactly equal to Ignore case ilike 'aaa'
contain like '%aaa%'
contain , Ignore case ilike '%aaa%', But for sqlite Come on ,contains The effect is the same as icontains.
contain
It's empty
With … start
With … start Ignore case
With … ending
With … ending , Ignore case
stay … Within the scope of
The year of the date field
The month of the date field
Date of the date field
It should be noted that , If you are using mysql, When using date query , Need to be in settings.py In the document USE_TZ It is amended as follows USE_TZ = False