import changes in notification

This commit is contained in:
2025-10-08 11:13:01 +03:30
parent cad4ccbe4b
commit f1a209a166
9 changed files with 104 additions and 25 deletions

View File

@@ -31,6 +31,10 @@ class Notification(BaseModel):
choices=NOTIFICATION_TYPES,
default='system'
)
delivering_type = models.CharField(max_length=150, null=True, choices=(
('general', 'GENERAL'),
('private', 'PRIVATE'),
), default='private')
is_read = models.BooleanField(default=False)
delivered = models.BooleanField(default=False)