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/admin.py | |
parent | 739b3dd6aa383f70e5442e74fb4d217d5619d110 (diff) |
after a lot of pain, incident report form basically works
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctrack/organisations/admin.py b/ctrack/organisations/admin.py index ce2b21b..203baa9 100644 --- a/ctrack/organisations/admin.py +++ b/ctrack/organisations/admin.py @@ -24,6 +24,7 @@ get_organisation_name.short_description = "Organisation" class IncidentReportAdmin(admin.ModelAdmin): model = IncidentReport + readonly_fields = ["date_time_incident_reported"] class AddressTypeAdmin(admin.ModelAdmin): |