mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make creation field permanent
This commit is contained in:
parent
6735f83683
commit
68e43d0b90
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user