question about __date filter look up #168
mojixcoder
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Are you sure that the Have you tested the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
__date
filter lookup inDjango
:As it says, it only takes
date
value.But in
django-jalali
we acceptjdatetime.datetime
,jdatetime.date
and str values then we convert them tojdatetime.date
.Shouldn't we only take
jdatetime.date
value?Then our API looks like
Django
API and our code base is simpler and easier to understand.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions