mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
Fix E402
This commit is contained in:
parent
a07327459c
commit
661fc3e449
|
@ -1,3 +1,7 @@
|
||||||
|
{% if cookiecutter.use_sentry == 'y' -%}
|
||||||
|
import logging
|
||||||
|
|
||||||
|
{% endif -%}
|
||||||
from .base import * # noqa
|
from .base import * # noqa
|
||||||
from .base import env
|
from .base import env
|
||||||
|
|
||||||
|
@ -233,8 +237,6 @@ LOGGING = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
SENTRY_CELERY_LOGLEVEL = env.int('DJANGO_SENTRY_LOG_LEVEL', logging.INFO)
|
SENTRY_CELERY_LOGLEVEL = env.int('DJANGO_SENTRY_LOG_LEVEL', logging.INFO)
|
||||||
RAVEN_CONFIG = {
|
RAVEN_CONFIG = {
|
||||||
'dsn': SENTRY_DSN
|
'dsn': SENTRY_DSN
|
||||||
|
|
Loading…
Reference in New Issue
Block a user