AlkantarClanX12

Your IP : 3.15.31.27


Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/contrib/django/celery/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/contrib/django/celery/models.py

"""
raven.contrib.django.celery.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2012 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 django.core.exceptions import ImproperlyConfigured

if 'djcelery' not in settings.INSTALLED_APPS:
    raise ImproperlyConfigured(
        "Put 'djcelery' in your INSTALLED_APPS setting in order to use the "
        "sentry celery client.")