for _date in dates:
> diff = _date - now
> print(_date.strftime('%Y%m%d'), diff.days)
> if diff.days == 3:
> print('Alert @ 3 days!')
>
>
> On Wednesday, 25 July 2018 21:12:54 UTC+2, deepak madan wrote:
>>
>> HOW to find
hould also provide a way so the
> user can mark the reminder as "done" and not be bothered with it again).
>
> You can find more information about the Q here:
> https://docs.djangoproject.com/en/2.0/topics/db/queries/#
> complex-lookups-with-q-objects
>
> On Wed, J
HOW to find the difference between a list of dates and today and find the
difference matches some days difference. Help
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an e
suppose a model for the tree which is planted on some days. The second
model has activities dues to be done after some regular interval like 1)
giving fertilizer A after 5 days 2) giving fertilizer B after 15 days.
My question is when this 5th or 15th days arrives, to design a reminder
page to s
4 matches
Mail list logo