Fix clear_delta() function
[pharos-tools.git] / dashboard / src / api / admin.py
1 ##############################################################################
2 # Copyright (c) 2016 Max Breitenfeldt and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10
11 from django.apps import AppConfig
12 from django.contrib import admin
13
14 from api.models import *
15
16
17 class ApiConfig(AppConfig):
18     name = 'apiJobs'
19
20 admin.site.register(Job)
21 admin.site.register(OpnfvApiConfig)
22 admin.site.register(HardwareConfig)
23 admin.site.register(NetworkConfig)
24 admin.site.register(SoftwareConfig)
25 admin.site.register(AccessRelation)
26 admin.site.register(SoftwareRelation)
27 admin.site.register(HostHardwareRelation)
28 admin.site.register(HostNetworkRelation)