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

13 lines
269 B
Python
Raw Permalink Normal View History

2023-07-09 07:51:51 +00:00
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')