aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/resource_inventory/admin.py')
-rw-r--r--src/resource_inventory/admin.py59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/resource_inventory/admin.py b/src/resource_inventory/admin.py
index 2444a98..da9cba3 100644
--- a/src/resource_inventory/admin.py
+++ b/src/resource_inventory/admin.py
@@ -9,62 +9,3 @@
from django.contrib import admin
-
-from resource_inventory.forms import InterfaceConfigurationForm
-
-from resource_inventory.models import (
- ResourceProfile,
- InterfaceProfile,
- DiskProfile,
- CpuProfile,
- RamProfile,
- ResourceTemplate,
- ResourceConfiguration,
- InterfaceConfiguration,
- Server,
- Interface,
- Network,
- Vlan,
- ResourceBundle,
- Scenario,
- Installer,
- Opsys,
- OPNFVConfig,
- OPNFVRole,
- Image,
- RemoteInfo,
- PhysicalNetwork,
- NetworkConnection,
-)
-
-
-admin.site.register([
- ResourceProfile,
- InterfaceProfile,
- DiskProfile,
- CpuProfile,
- RamProfile,
- ResourceTemplate,
- ResourceConfiguration,
- Server,
- Interface,
- Network,
- Vlan,
- ResourceBundle,
- Scenario,
- Installer,
- Opsys,
- OPNFVConfig,
- OPNFVRole,
- Image,
- PhysicalNetwork,
- NetworkConnection,
- RemoteInfo]
-)
-
-
-class InterfaceConfigurationAdmin(admin.ModelAdmin):
- form = InterfaceConfigurationForm
-
-
-admin.site.register(InterfaceConfiguration, InterfaceConfigurationAdmin)