diff --git a/backend/account/models.py b/backend/account/models.py index da7d7cf..559ef0d 100644 --- a/backend/account/models.py +++ b/backend/account/models.py @@ -152,6 +152,10 @@ class PushSubscription(models.Model): def __str__(self): return f'{self.user} push' + class Meta: + verbose_name = 'اشتراک نوتیفیکیشن' + verbose_name_plural = 'اشتراک های نوتیفیکیشن' + def send_notif(self, title, body, icon): payload = { "title": 'فروشگاه هی ملز',