Merge pull request #3148 from Andrew-Chen-Wang/patch-1

Lint production.py
This commit is contained in:
Bruno Alla 2021-04-30 19:30:01 +01:00 committed by GitHub
commit bddfab2fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,12 @@ sentry_logging = LoggingIntegration(
)
{%- if cookiecutter.use_celery == 'y' %}
integrations = [sentry_logging, DjangoIntegration(), CeleryIntegration(), RedisIntegration()]
integrations = [
sentry_logging,
DjangoIntegration(),
CeleryIntegration(),
RedisIntegration(),
]
{% else %}
integrations = [sentry_logging, DjangoIntegration(), RedisIntegration()]
{% endif -%}