2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 20:20:58 +00:00

make creation date none changeable on save

This commit is contained in:
Matthias
2021-11-29 23:46:41 +01:00
parent d6dc4dd035
commit 2dbb21f8e7
2 changed files with 19 additions and 3 deletions

View File

@ -1492,9 +1492,7 @@ class NotificationMessage(models.Model):
)
creation = models.DateTimeField(
auto_now=True,
null=False,
editable=False,
auto_now_add=True,
)
read = models.BooleanField(