aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations/models.py')
-rw-r--r--ctrack/organisations/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py
index a107829..2dd798c 100644
--- a/ctrack/organisations/models.py
+++ b/ctrack/organisations/models.py
@@ -221,7 +221,7 @@ class IncidentReport(models.Model):
help_text="This can be approximate",
)
date_time_incident_reported = models.DateTimeField(
- verbose_name="Date/Time incident reported"
+ verbose_name="Date/Time incident reported", auto_now=True
)
incident_type = models.CharField(
choices=INCIDENT_TYPES, help_text="This can be appoximate", max_length=10