summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2014-03-20 14:20:35 +0100
committerJohan Lundberg <lundberg@nordu.net>2014-03-20 14:20:35 +0100
commitd66e1443d7e29ba9c2ef1e2603144f9e08155b14 (patch)
tree6fcf5663500d785ac01ce164da054a0c74f56b84
parent7b42ba9df55362b7e095f97c1a9de6e8bf4fe228 (diff)
Updated UserMeetingTransaction admin view.
-rw-r--r--meetingtools/apps/stats/admin.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/meetingtools/apps/stats/admin.py b/meetingtools/apps/stats/admin.py
index f9ae86e..8e0a471 100644
--- a/meetingtools/apps/stats/admin.py
+++ b/meetingtools/apps/stats/admin.py
@@ -1,10 +1,15 @@
-'''
+"""
Created on Jan 31, 2011
@author: leifj
-'''
+"""
from django.contrib import admin
from meetingtools.apps.stats.models import UserMeetingTransaction
-admin.site.register(UserMeetingTransaction) \ No newline at end of file
+
+class UserMeetingTransactionAdmin(admin.ModelAdmin):
+ date_hierarchy = 'date_created'
+ list_display = ('date_created', 'date_closed', 'user', 'txid', 'sco')
+
+admin.site.register(UserMeetingTransaction, UserMeetingTransactionAdmin) \ No newline at end of file