1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8463: Change the created field on all change-logged models from date to datetime

This commit is contained in:
jeremystretch
2022-02-08 14:41:44 -05:00
parent 45e5c4eb46
commit 272d6e7437
12 changed files with 506 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ class ChangeLoggingMixin(models.Model):
"""
Provides change logging support for a model. Adds the `created` and `last_updated` fields.
"""
created = models.DateField(
created = models.DateTimeField(
auto_now_add=True,
blank=True,
null=True