django-orchestra-test/orchestra/contrib/vps/apps.py

13 lines
269 B
Python
Raw Permalink Normal View History

from django.apps import AppConfig
from orchestra.core import services
class VPSConfig(AppConfig):
name = 'orchestra.contrib.vps'
verbose_name = 'VPS'
def ready(self):
from .models import VPS
services.register(VPS, icon='TuxBox.png')