Fix: created date fixes in v2.16 (#10026)

This commit is contained in:
shamoon 2025-05-24 09:45:07 -07:00 committed by GitHub
parent eb07876657
commit 59bf25edb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 46 additions and 9 deletions

View file

@ -215,7 +215,7 @@ class Document(SoftDeleteModel, ModelWithOwner):
created = models.DateField(
_("created"),
default=datetime.datetime.today,
default=datetime.date.today,
db_index=True,
)