summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/dashboard/admin.py
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-08-25 12:10:55 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-08-25 12:10:55 +0200
commit2a634c9262e7f51a7802b69b9ba51641711f2ad4 (patch)
tree9243b3f065cc140f862be5bb6f7bc4f06905a309 /pharos-dashboard/dashboard/admin.py
parente040d30e0a61077f2777beba5853103f327ec130 (diff)
Add a Resource detail view
JIRA: RELENG-12 The resource page contains an utilization diagram, future bookings with their jira tickets and a list of servers. Change-Id: I2123ccbe96cde29a56af32b933ebbf6ba2668ed1 Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/dashboard/admin.py')
-rw-r--r--pharos-dashboard/dashboard/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pharos-dashboard/dashboard/admin.py b/pharos-dashboard/dashboard/admin.py
index 990e63e..71a1e7d 100644
--- a/pharos-dashboard/dashboard/admin.py
+++ b/pharos-dashboard/dashboard/admin.py
@@ -1,5 +1,6 @@
from django.contrib import admin
-from dashboard.models import Resource
+from dashboard.models import *
admin.site.register(Resource)
+admin.site.register(Server)