增加数据库初始化脚本

This commit is contained in:
virusdefender
2019-01-05 13:13:06 +08:00
parent f2f6b48d69
commit efddadb898
4 changed files with 23 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '127.0.0.1',
'PORT': 5433,
'PORT': 5435,
'NAME': "onlinejudge",
'USER': "onlinejudge",
'PASSWORD': 'onlinejudge'
@@ -16,7 +16,7 @@ DATABASES = {
REDIS_CONF = {
"host": "127.0.0.1",
"port": "6379"
"port": "6380"
}