'Show notifications to users at certain times in Django
By creating a model on Django, I want to create notifications for my users on the hours and days I want. And I want to create these notifications from my admin panel.I want to set the start and end dates from the admin panel and send these notifications to the users within the specified time.And once the user sees it, I don't want it to see it again.An example notification model:
class NotificationModel(models.Model):
title = models.CharField(max_length=100)
description = models.TextField()
start_date = models.DateTimeField()
end_date = models.DateTimeField()
How can I do that? How I use it will be healthier?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
