'修改数据库连接'
This commit is contained in:
parent
51ef83b2cf
commit
2aee218af9
|
@ -1 +1 @@
|
|||
12524
|
||||
17672
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
settings.py
|
|
@ -24,7 +24,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|||
SECRET_KEY = '^2_d@h7#j5zx4=g+!=r&tdmm&)akpd_hf!7@-85#qs(+*(#o!i'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
|
@ -91,9 +91,9 @@ DATABASES = {
|
|||
'NAME': 'safedb',
|
||||
'USER':'postgres',
|
||||
'PASSWORD':'cTc1111Qa',
|
||||
'HOST':'121.36.23.77',
|
||||
'HOST':'192.168.0.115',
|
||||
'PORT':'5432',
|
||||
'CONN_MAX_AGE': 60,
|
||||
# 'CONN_MAX_AGE': 60,
|
||||
},
|
||||
'OPTIONS': {
|
||||
'isolation_level': psycopg2.extensions.ISOLATION_LEVEL_SERIALIZABLE,
|
||||
|
|
|
@ -1 +1 @@
|
|||
41_I-HP1hSZv5r3OEvFVNp2NbY1tQzg0fdOizw0Kldq-LhlVIDqECdTwaMM-O62-8s5I4KMbRx1gAhIZhb_eELSlh_LXEIyBdEpfODF_Ax668oSJcBiiOIfn2U3CEj-lNrwBAsaHz7a7LxAkWJDQWRjAIAMSN
|
||||
44_FIdUUwzaJMzybi-e29bOke7vYSE3UaFwVJMQKqGe9BsjjkoM_1HWoDn2c0anWm2EusSiyVm2e1aLI8wRHYp6X4bdFWYAO0-24ShHL218FgA4eAryZxm7UR8qukaPzZYWXdhB14u5NAXCL0XbAFGjAJAQVW
|
|
@ -184,7 +184,12 @@
|
|||
.icon-trainplan {
|
||||
background: url('icons/trainplan.png') no-repeat center center;
|
||||
}
|
||||
|
||||
.icon-follow {
|
||||
background: url('icons/follow.png') no-repeat center center;
|
||||
}
|
||||
.icon-personalp {
|
||||
background: url('icons/personalp.png') no-repeat center center;
|
||||
}
|
||||
|
||||
.icon-mini-add{
|
||||
background:url('icons/mini_add.png') no-repeat center center;
|
||||
|
|
Loading…
Reference in New Issue