mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
569 B
20 lines
569 B
from __future__ import unicode_literals
|
|
|
|
from django.apps import AppConfig
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class OpsConfig(AppConfig):
|
|
name = 'ops'
|
|
verbose_name = _('App Ops')
|
|
|
|
def ready(self):
|
|
from orgs.models import Organization
|
|
from orgs.utils import set_current_org
|
|
set_current_org(Organization.root())
|
|
from .celery import signal_handler # noqa
|
|
from . import signal_handlers # noqa
|
|
from . import notifications # noqa
|
|
from . import tasks # noqa
|
|
super().ready()
|