|
@@ -19,7 +19,6 @@ INSTALLED_APPS = [
|
|
|
'imagekit',
|
|
|
'Model',
|
|
|
'PushModel',
|
|
|
- 'SerialModel',
|
|
|
]
|
|
|
|
|
|
MIDDLEWARE = [
|
|
@@ -58,7 +57,6 @@ APPEND_SLASH = False
|
|
|
TEMPLATES = [
|
|
|
{
|
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
|
|
- # 'DIRS': [BASE_DIR + '/static/templates', ],
|
|
|
'DIRS': [BASE_DIR + '/templates', ],
|
|
|
'APP_DIRS': True,
|
|
|
'OPTIONS': {
|
|
@@ -195,7 +193,6 @@ LOGGING = {
|
|
|
'disable_existing_loggers': True,
|
|
|
'formatters': {
|
|
|
'error_format': {
|
|
|
- # 'format': '{"asctime":"%(asctime)s","thread":"%(threadName)s:%(thread)d","errorline":"%(lineno)d","errorlevel":"%(levelname)s","errorcontent":"%(message)s"}'
|
|
|
'format': '%(asctime)s %(threadName)s %(thread)d %(lineno)d %(levelname)s %(message)s'
|
|
|
},
|
|
|
'standard': {
|
|
@@ -255,8 +252,6 @@ LOGGING = {
|
|
|
'loggers': {
|
|
|
'django': {
|
|
|
'handlers': ['default', 'console'],
|
|
|
- # 'handlers': ['mail_admins','default','console'],
|
|
|
- # 'level': 'ERROR',
|
|
|
'level': 'ERROR',
|
|
|
'propagate': False
|
|
|
},
|
|
@@ -266,7 +261,6 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'propagate': False
|
|
|
},
|
|
|
-
|
|
|
'device_info': {
|
|
|
'handlers': ['device_info'],
|
|
|
'level': 'INFO',
|
|
@@ -277,10 +271,5 @@ LOGGING = {
|
|
|
'level': 'INFO',
|
|
|
'propagate': False
|
|
|
},
|
|
|
- # 'django.db.backends': {
|
|
|
- # 'handlers': ['console'],
|
|
|
- # 'propagate': True,
|
|
|
- # 'level': 'DEBUG',
|
|
|
- # },
|
|
|
}
|
|
|
}
|