aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/admin.py')
-rw-r--r--src/api/admin.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/api/admin.py b/src/api/admin.py
index f1bc70a..3d32c78 100644
--- a/src/api/admin.py
+++ b/src/api/admin.py
@@ -11,12 +11,23 @@
from django.apps import AppConfig
from django.contrib import admin
-from api.models import *
+from api.models import (
+ Job,
+ OpnfvApiConfig,
+ HardwareConfig,
+ NetworkConfig,
+ SoftwareConfig,
+ AccessRelation,
+ SoftwareRelation,
+ HostHardwareRelation,
+ HostNetworkRelation,
+)
class ApiConfig(AppConfig):
name = 'apiJobs'
+
admin.site.register(Job)
admin.site.register(OpnfvApiConfig)
admin.site.register(HardwareConfig)