Hi,
I'm actually having a hard time seeing how your code matches up with the
django-daterange-filter code you linked to.
One thing to try is to as much as possible use dates instead of datetimes,
or otherwise, yes, you'll need to use timedelta(days=1).
Also, the "None" value means that they ke
On Saturday, November 15, 2014 4:47:12 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I am using below daterange filter package but it did not work if
> from_date and to_date field are same,
>
>
> https://github.com/DXist/django-daterange-filter/blob/master/daterange_filter/filter.py
>
> P
Hello,
to_date = self.form.fields.get('measureddate__lte')
I think you want something more like this:
self.form.cleaned_data.get('measureddate__lte')
Collin
On Saturday, November 15, 2014 6:17:12 AM UTC-5, Sachin Tiwari wrote:
>
> Hi All,
>
> I am using below daterange filter package but it
On Saturday, November 15, 2014 4:47:12 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I am using below daterange filter package but it did not work if
> from_date and to_date field are same,
>
>
> https://github.com/DXist/django-daterange-filter/blob/master/daterange_filter/filter.py
>
> P
4 matches
Mail list logo