summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/dashboard/admin.py
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-08-19 17:10:31 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-08-19 17:10:31 +0200
commit79aec84973032e15ae9d36fcbd7d7d42af3283d1 (patch)
treec02fbd44cd53b0eed105bc648c743b10c62bfeb4 /pharos-dashboard/dashboard/admin.py
parent639cd5db77064c275253828780c17ae59551d95c (diff)
Split the dashboard into different apps, add tests
JIRA: RELENG-12 Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/dashboard/admin.py')
-rw-r--r--pharos-dashboard/dashboard/admin.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/pharos-dashboard/dashboard/admin.py b/pharos-dashboard/dashboard/admin.py
index 532173f..990e63e 100644
--- a/pharos-dashboard/dashboard/admin.py
+++ b/pharos-dashboard/dashboard/admin.py
@@ -1,9 +1,5 @@
from django.contrib import admin
-from .models import *
-# Register your models here.
-admin.site.register(Booking)
-admin.site.register(Pod)
+from dashboard.models import Resource
+
admin.site.register(Resource)
-admin.site.register(Server)
-admin.site.register(UserResource) \ No newline at end of file