suite de #122 en suivant les conventions de nommage. Co-authored-by: Christophe Siraut <d@tobald.eu.org> Reviewed-on: #126 Co-authored-by: Chris Tactic <chris@tacticasbl.be> Co-committed-by: Chris Tactic <chris@tacticasbl.be>
This commit is contained in:
@ -7,6 +7,7 @@ try:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
DEBUG = True
|
||||
|
||||
LOCALE_PATHS = ["aircox/locale", "aircox_streamer/locale"]
|
||||
|
||||
@ -15,7 +16,7 @@ LOGGING = {
|
||||
"disable_existing_loggers": False,
|
||||
"formatters": {
|
||||
"timestamp": {
|
||||
"format": "{asctime} {levelname} {message}",
|
||||
"format": "{asctime} {module} {levelname} {message}",
|
||||
"style": "{",
|
||||
},
|
||||
},
|
||||
@ -26,6 +27,10 @@ LOGGING = {
|
||||
},
|
||||
},
|
||||
"loggers": {
|
||||
"root": {
|
||||
"handlers": ["console"],
|
||||
"level": os.getenv("DJANGO_LOG_LEVEL", "DEBUG"),
|
||||
},
|
||||
"aircox": {
|
||||
"handlers": ["console"],
|
||||
"level": os.getenv("DJANGO_LOG_LEVEL", "DEBUG"),
|
||||
@ -40,3 +45,9 @@ LOGGING = {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ For Django settings see:
|
||||
https://docs.djangoproject.com/en/3.1/topics/settings/
|
||||
https://docs.djangoproject.com/en/3.1/ref/settings/
|
||||
"""
|
||||
from django.utils import timezone
|
||||
from zoneinfo import ZoneInfo
|
||||
from .prod import *
|
||||
|
||||
|
Reference in New Issue
Block a user