diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/admin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ctrack/organisations/admin.py b/ctrack/organisations/admin.py index f85ddad..ce2b21b 100644 --- a/ctrack/organisations/admin.py +++ b/ctrack/organisations/admin.py @@ -3,6 +3,7 @@ from django.contrib import admin from .models import ( Address, AddressType, + IncidentReport, Mode, Organisation, Person, @@ -21,6 +22,10 @@ def get_organisation_name(person): get_organisation_name.short_description = "Organisation" +class IncidentReportAdmin(admin.ModelAdmin): + model = IncidentReport + + class AddressTypeAdmin(admin.ModelAdmin): pass @@ -72,3 +77,4 @@ admin.site.register(Person, PersonAdmin) admin.site.register(Mode, ModeAdmin) admin.site.register(Submode, SubmodeAdmin) admin.site.register(Stakeholder, StakeholderAdmin) +admin.site.register(IncidentReport, IncidentReportAdmin) |