2016-08-09 06:42:21 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2021-03-24 11:01:35 +00:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
2016-08-09 06:42:21 +00:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
class OpsConfig(AppConfig):
|
|
|
|
name = 'ops'
|
2021-03-24 11:01:35 +00:00
|
|
|
verbose_name = _('Operations')
|
2018-04-02 07:54:49 +00:00
|
|
|
|
|
|
|
def ready(self):
|
2018-07-31 02:27:55 +00:00
|
|
|
from orgs.models import Organization
|
|
|
|
from orgs.utils import set_current_org
|
|
|
|
set_current_org(Organization.root())
|
2018-04-02 07:54:49 +00:00
|
|
|
from .celery import signal_handler
|
2021-05-31 09:20:38 +00:00
|
|
|
from . import notifications
|
2019-01-15 02:23:30 +00:00
|
|
|
super().ready()
|