diff options
author | Johan Lundberg <lundberg@nordu.net> | 2014-03-20 10:42:08 +0100 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2014-03-20 10:42:08 +0100 |
commit | 02723c27c2d2adfcc0c73504bb4c26fbe0a24b51 (patch) | |
tree | 1803c4ba5be055f77e05f24181048367c4e1e524 /meetingtools/apps/room | |
parent | 45b21cf3874160b29c7733bec80083d41bf70a6c (diff) |
Better admin list view for Room and ACObject.
Diffstat (limited to 'meetingtools/apps/room')
-rw-r--r-- | meetingtools/apps/room/admin.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meetingtools/apps/room/admin.py b/meetingtools/apps/room/admin.py index 13d80a8..73235f3 100644 --- a/meetingtools/apps/room/admin.py +++ b/meetingtools/apps/room/admin.py @@ -7,4 +7,9 @@ Created on Jan 31, 2011 from django.contrib import admin from meetingtools.apps.room.models import Room -admin.site.register(Room)
\ No newline at end of file + +class RoomAdmin(admin.ModelAdmin): + date_hierarchy = 'timecreated' + list_display = ('timecreated', 'creator', 'name', 'urlpath', 'sco', 'deleted_sco', 'lastupdated', 'lastvisited') + +admin.site.register(Room, RoomAdmin)
\ No newline at end of file |