django-orchestra-test/orchestra/contrib/orchestration/apps.py
2015-05-07 14:09:37 +00:00

15 lines
492 B
Python

from django.apps import AppConfig
from orchestra.core import administration
class OrchestrationConfig(AppConfig):
name = 'orchestra.contrib.orchestration'
verbose_name = "Orchestration"
def ready(self):
from .models import Server, Route, BackendLog
administration.register(BackendLog, icon='scriptlog.png')
administration.register(Server, parent=BackendLog, icon='vps.png')
administration.register(Route, parent=BackendLog, icon='hal.png')