✏️ 正在编辑: models.py
路径:
/opt/cloudlinux/venv/lib/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.")
💾 保存文件
← 返回文件管理器