用户名不区分大小写;

修复更新problem时的一些问题
This commit is contained in:
zema1
2017-11-02 15:29:08 +08:00
parent b86ebf0ed7
commit 70f52b6f27
5 changed files with 103 additions and 78 deletions

View File

@@ -118,7 +118,9 @@ LOGGING = {
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s [%(threadName)s:%(thread)d] [%(name)s:%(lineno)d] [%(module)s:%(funcName)s] [%(levelname)s]- %(message)s'}
'format': '%(asctime)s [%(threadName)s:%(thread)d] [%(name)s:%(lineno)d] [%(module)s:%(funcName)s] [%(levelname)s]- %(message)s',
'datefmt': '%Y-%m-%d %H:%M:%S'
}
},
'handlers': {
'django_error': {
@@ -145,11 +147,6 @@ LOGGING = {
'level': 'WARNING',
'propagate': True,
},
'django.server': {
'handlers': ['django_error', 'console'],
'level': 'ERROR',
'propagate': True,
},
'django.db.backends': {
'handlers': ['django_error', 'console'],
'level': 'WARNING',