forked from rc/aircox
		
	suite de rc/aircox#122 en suivant les conventions de nommage. Co-authored-by: Christophe Siraut <d@tobald.eu.org> Reviewed-on: rc/aircox#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",
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user