Compare commits

...

2 Commits

Author SHA1 Message Date
VARUN d9e15664ca updated code
3 months ago
VARUN 9e356e51be updated code
3 months ago

@ -153,4 +153,27 @@ EMAIL_HOST_USER = 'subramanyajithendra@gmail.com'
EMAIL_HOST_PASSWORD = 'grdwevagtfmfqosb'
TIME_ZONE = 'Asia/Kolkata'
USE_TZ = True
USE_TZ = True
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'ERROR',
'class': 'logging.FileHandler',
'filename': '/path/to/your/logs/django.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'ERROR',
'propagate': True,
},
},
}
Loading…
Cancel
Save