Commit c0ad4f0b by Dudás Ádám

vm: add Interface model to admin

Also sort importation and registration of models by name.
parent 5bba4803
from django.contrib import admin from django.contrib import admin
from .models import (Node, InstanceTemplate, InterfaceTemplate, Instance, from .models import (Instance, InstanceActivity, InstanceTemplate, Interface,
InstanceActivity, NodeActivity, Lease) InterfaceTemplate, Lease, Node, NodeActivity)
admin.site.register(Node)
admin.site.register(InstanceTemplate)
admin.site.register(InterfaceTemplate)
admin.site.register(Instance) admin.site.register(Instance)
admin.site.register(InstanceActivity) admin.site.register(InstanceActivity)
admin.site.register(NodeActivity) admin.site.register(InstanceTemplate)
admin.site.register(Interface)
admin.site.register(InterfaceTemplate)
admin.site.register(Lease) admin.site.register(Lease)
admin.site.register(Node)
admin.site.register(NodeActivity)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment