summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/src/dashboard/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/src/dashboard/admin.py')
-rw-r--r--tools/pharos-dashboard/src/dashboard/admin.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/src/dashboard/admin.py b/tools/pharos-dashboard/src/dashboard/admin.py
new file mode 100644
index 00000000..a1463a7a
--- /dev/null
+++ b/tools/pharos-dashboard/src/dashboard/admin.py
@@ -0,0 +1,16 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+from django.contrib import admin
+
+from dashboard.models import *
+
+admin.site.register(Resource)
+admin.site.register(Server)