r(mydatefiled__lte=Today())
>>
>> and not :
>>
>> MyModel.objects.filter(mydatefiled__lte=TruncDate(Now())
>>
>> Could it be useful to extend the Now function with native casts by
>> leveraging database templates? I understand very well that extendi
keeping it as minimal as possible. It is probably easier to override Now in
your project when needed but I would like to hear your feedback on this.
--
Matteo Vitali
https://trottomv.me
--
You received this message because you are subscribed to the Google Groups
"Django developers (