From 98cbce5f6cceebd816c5d9731f2433d955864c5b Mon Sep 17 00:00:00 2001 From: Tonis Date: Sat, 18 Mar 2017 14:23:03 +0200 Subject: [PATCH] Message.processed default to now rather than auto_now_add = True https://code.djangoproject.com/ticket/22995 ticket # 1587 --- django_mailbox/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_mailbox/models.py b/django_mailbox/models.py index be74778..a9f7905 100644 --- a/django_mailbox/models.py +++ b/django_mailbox/models.py @@ -477,7 +477,7 @@ class Message(models.Model): processed = models.DateTimeField( _('Processed'), - auto_now_add=True + default=now ) read = models.DateTimeField(