mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 04:30:16 +03:00
parent
18a69aff62
commit
96a39d895a
|
@ -17,9 +17,10 @@ app.config_from_object("django.conf:settings", namespace="CELERY")
|
|||
|
||||
@setup_logging.connect
|
||||
def config_loggers(*args, **kwargs):
|
||||
from django.conf import settings
|
||||
from logging.config import dictConfig
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
dictConfig(settings.LOGGING)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user