1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

Message.processed default to now rather than auto_now_add = True

https://code.djangoproject.com/ticket/22995
ticket # 1587
This commit is contained in:
Tonis 2017-03-18 14:23:03 +02:00
parent 60ccc9a194
commit 98cbce5f6c

View file

@ -477,7 +477,7 @@ class Message(models.Model):
processed = models.DateTimeField(
_('Processed'),
auto_now_add=True
default=now
)
read = models.DateTimeField(