Skip to content

When i filter with same date it not work i have use gte and lte also #1658

Answered by carltongibson
SurajPysquad asked this question in Q&A
Discussion options

You must be logged in to vote

Would created happend to be a datetime, rather than a date?
Did you see the warning here: https://docs.djangoproject.com/en/5.0/ref/models/querysets/#range

Check the generated SQL to make sure it's what you're expecting.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SurajPysquad
Comment options

Answer selected by SurajPysquad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1657 on May 14, 2024 06:15.