mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
Fix logging module imported unconditionally in production.py
This commit is contained in:
parent
df1ce737d5
commit
a07327459c
|
@ -1,5 +1,3 @@
|
|||
import logging
|
||||
|
||||
from .base import * # noqa
|
||||
from .base import env
|
||||
|
||||
|
@ -235,6 +233,8 @@ LOGGING = {
|
|||
},
|
||||
}
|
||||
|
||||
import logging
|
||||
|
||||
SENTRY_CELERY_LOGLEVEL = env.int('DJANGO_SENTRY_LOG_LEVEL', logging.INFO)
|
||||
RAVEN_CONFIG = {
|
||||
'dsn': SENTRY_DSN
|
||||
|
|
Loading…
Reference in New Issue
Block a user