X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9bc86f5a6542c5893ac94284da33162a7c7be2d6..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/push/models.py diff --git a/src/push/models.py b/src/push/models.py index 54fd1a04b..59de91695 100644 --- a/src/push/models.py +++ b/src/push/models.py @@ -2,14 +2,13 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django.db import models -from django.utils.translation import gettext_lazy as _ class Notification(models.Model): timestamp = models.DateTimeField(auto_now_add=True) - title = models.CharField(max_length=256, verbose_name=_('title')) - body = models.CharField(max_length=2048, verbose_name=_('content')) - image = models.ImageField(verbose_name=_('image'), blank=True, upload_to='push/img') + title = models.CharField(max_length=256, verbose_name='tytuł') + body = models.CharField(max_length=2048, verbose_name='treść') + image = models.ImageField(verbose_name='obraz', blank=True, upload_to='push/img') message_id = models.CharField(max_length=2048) class Meta: