How Notify Current user ,your insurance is going expiry within 5 days in django

19 views
Skip to first unread message

Gautam Ankul

unread,
Mar 1, 2022, 8:38:44 AM3/1/22
to Django users

I am stuck in one problem and i want to notify current logged user for it's insurance will be expired within 5 days ago.



class Vehicle(models.Model): vehicle_no = models.CharField(max_length=100, blank=False, null=False) chasis_no = models.CharField(max_length=100, blank=False, null=False, unique=True) make = models.CharField(max_length=100, blank=False, null=False) insurance_no = models.CharField(max_length=100, blank=False, null=False) insurance_date = models.DateField(blank=False, null=False) insurance_expiry_date = models.DateField(blank=False, null=False)


Please help me to find exact solution


Reply all
Reply to author
Forward
0 new messages