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

13 lines
287 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 DomainsConfig(AppConfig):
name = 'orchestra.contrib.domains'
verbose_name = 'Domains'
def ready(self):
from .models import Domain
services.register(Domain, icon='domain.png')