make creation field permanent

This commit is contained in:
Matthias 2021-11-27 23:26:08 +01:00
parent 6735f83683
commit 68e43d0b90
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -1471,6 +1471,8 @@ class NotificationMessage(models.Model):
on_delete=models.CASCADE, on_delete=models.CASCADE,
verbose_name=_('User'), verbose_name=_('User'),
help_text=_('User'), help_text=_('User'),
null=True,
blank=True,
) )
category = models.CharField( category = models.CharField(
@ -1492,6 +1494,7 @@ class NotificationMessage(models.Model):
creation = models.DateTimeField( creation = models.DateTimeField(
auto_now=True, auto_now=True,
null=False, null=False,
editable=False,
) )
read = models.BooleanField( read = models.BooleanField(