summaryrefslogtreecommitdiffstats
path: root/engagements/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'engagements/admin.py')
-rw-r--r--engagements/admin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/engagements/admin.py b/engagements/admin.py
index 5c582ee..3b9d05c 100644
--- a/engagements/admin.py
+++ b/engagements/admin.py
@@ -4,6 +4,7 @@ from .models import (
Engagement,
EngagementEffort,
EngagementType,
+ EngagementStrategy,
Organisation,
Person,
RegulatedEntityType,
@@ -16,6 +17,10 @@ site = admin.site
site.site_header = "DefNucSyR Engagement Database (DED)"
+class EngagementStrategyAdmin(admin.ModelAdmin):
+ list_display = ("__str__", "owned_by")
+
+
class PersonAdmin(admin.ModelAdmin):
list_display = ("__str__", "organisation")
@@ -39,5 +44,6 @@ site.register(RegulatedEntityType)
site.register(RegulatoryRole)
site.register(RegulatoryCycle, RegulatoryCycleAdmin)
site.register(EngagementType)
+site.register(EngagementStrategy, EngagementStrategyAdmin)
site.register(Engagement)
site.register(EngagementEffort)