Example #1
0
# XXX(dcramer): we don't use rest framework's serializers module for actual serialization,
# but rather we use it for validation. Consider this the appropriate place to put these
# components going forward, though many live in sentry/api/serializers/rest_framework for
# legacy reasons.

from sentry.utils.imports import import_submodules

import_submodules(globals(), __name__, __path__)
Example #2
0
from sentry.utils.imports import import_submodules

import_submodules(globals(), __name__, __path__)  # type: ignore
Example #3
0
"""
sentry.models
~~~~~~~~~~~~~

:copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from __future__ import absolute_import

from django.conf import settings

from sentry.utils.imports import import_submodules

import_submodules(globals(), __name__, __path__)

if 'south' in settings.INSTALLED_APPS:
    from south.modelsinspector import add_introspection_rules

    add_introspection_rules([], ["^social_auth\.fields\.JSONField"])
Example #4
0
from sentry.rules import rules
from sentry.utils.imports import import_submodules

from .notify_action import AzureDevopsCreateTicketAction

path = __path__  # type: ignore
import_submodules(globals(), __name__, path)

rules.add(AzureDevopsCreateTicketAction)