aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/admin.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-19 10:14:35 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-19 10:14:35 +0100
commit229e08df8e7454bbc7fcd545349bb6802e841db5 (patch)
tree2517e9d057ee129c778f2f5b8715fc72745f5d68 /ctrack/register/admin.py
parenteebcfa91fb68bc9d552fea4fba74786c99c066aa (diff)
fixed issue of not saving many-to-many field value
Diffstat (limited to 'ctrack/register/admin.py')
-rw-r--r--ctrack/register/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctrack/register/admin.py b/ctrack/register/admin.py
index 16e20b3..bcd27da 100644
--- a/ctrack/register/admin.py
+++ b/ctrack/register/admin.py
@@ -16,6 +16,7 @@ class EngagementEventTypeAdmin(admin.ModelAdmin):
class SingleDateTimeEventAdmin(admin.ModelAdmin):
model = SingleDateTimeEvent
+ list_display = ("type_descriptor", "short_description", "datetime", "user", "created_date")
admin.site.register(EngagementEvent, EngagementEventAdmin)