관리-도구
편집 파일: 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.")