I have two tables Member table and Daily_Notes table.
class Member(models.Model):
name = models.Charfield()
Daily_notes table
class DailyNotes(models.Model):
member= models.Foreignkey('Member')
note=models.Charfield()
date=models.Datetimefield(default="")
Daily note table contains daily entries
I need to filter datas, If user have not enter note by today and entered the prior day.