mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 06:24:52 +03:00
remove raven import
This commit is contained in:
parent
35f63d0e0a
commit
da515132a2
|
@ -192,12 +192,6 @@ AWS_PRELOAD_METADATA = True
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if cookiecutter.use_sentry == 'y' -%}
|
{%- if cookiecutter.use_sentry == 'y' -%}
|
||||||
# raven
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# https://docs.sentry.io/clients/python/integrations/django/
|
|
||||||
INSTALLED_APPS += ['raven.contrib.django.raven_compat'] # noqa F405
|
|
||||||
MIDDLEWARE = ['raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware'] + MIDDLEWARE
|
|
||||||
|
|
||||||
# Sentry
|
# Sentry
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
SENTRY_DSN = env('SENTRY_DSN')
|
SENTRY_DSN = env('SENTRY_DSN')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user