django-orchestra/orchestra/contrib/saas/apps.py

14 lines
302 B
Python
Raw Normal View History

2023-07-09 07:51:51 +00:00
from django.apps import AppConfig
from orchestra.core import services
class SaaSConfig(AppConfig):
name = 'orchestra.contrib.saas'
verbose_name = 'Saas'
def ready(self):
from . import signals
from .models import SaaS
services.register(SaaS, icon='saas.png')