summaryrefslogtreecommitdiff
path: root/meetingtools/apps/sco
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2014-03-20 10:42:08 +0100
committerJohan Lundberg <lundberg@nordu.net>2014-03-20 10:42:08 +0100
commit02723c27c2d2adfcc0c73504bb4c26fbe0a24b51 (patch)
tree1803c4ba5be055f77e05f24181048367c4e1e524 /meetingtools/apps/sco
parent45b21cf3874160b29c7733bec80083d41bf70a6c (diff)
Better admin list view for Room and ACObject.
Diffstat (limited to 'meetingtools/apps/sco')
-rw-r--r--meetingtools/apps/sco/admin.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/meetingtools/apps/sco/admin.py b/meetingtools/apps/sco/admin.py
index 98da992..3dd24c8 100644
--- a/meetingtools/apps/sco/admin.py
+++ b/meetingtools/apps/sco/admin.py
@@ -7,4 +7,10 @@ Created on Jan 31, 2011
from django.contrib import admin
from meetingtools.apps.sco.models import ACObject
-admin.site.register(ACObject) \ No newline at end of file
+
+class ACObjectAdmin(admin.ModelAdmin):
+ date_hierarchy = 'timecreated'
+ list_display = ('timecreated', 'acc', 'sco_id', 'lastupdated', 'is_deleted')
+
+
+admin.site.register(ACObject, ACObjectAdmin) \ No newline at end of file