Re: find difference of dates between today and filter list[dates]

2018-07-26 Thread Deepak Madan Singh
Great help; Thanks Derek On Thu, Jul 26, 2018 at 8:30 PM, Derek wrote: > Here's a created list of dates (before and after today) and a way to > calculate the offset days relative to today ("now") and alert at a set > interval: > > from __future__ import print_function > import datetime > > now =

Re: how to find activities dues for today and tommorow

2018-07-26 Thread Deepak Madan Singh
Thank you Julio :) On Thu, Jul 26, 2018 at 12:53 AM, Julio Biason wrote: > Hi Deepak, > > You could set up another model to track when something should be done to > the tree; something like this: > > class Tree(models.Model): > ... > planted_date = models.DateField() > > class Reminder(m