diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 16:14:26 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 16:14:26 +0100 |
commit | a5ccd4b3a176fa8c0302000fd1f09b06c1a04ced (patch) | |
tree | 5f8eb91996d7535512adc8d4430ece269abcb18c /ctrack/organisations/models.py | |
parent | 739b3dd6aa383f70e5442e74fb4d217d5619d110 (diff) |
after a lot of pain, incident report form basically works
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/models.py | 2 |
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 |