aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-29 16:14:26 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-29 16:14:26 +0100
commita5ccd4b3a176fa8c0302000fd1f09b06c1a04ced (patch)
tree5f8eb91996d7535512adc8d4430ece269abcb18c /ctrack/organisations/admin.py
parent739b3dd6aa383f70e5442e74fb4d217d5619d110 (diff)
after a lot of pain, incident report form basically works
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/admin.py1
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):