Fix variable
This commit is contained in:
parent
82fa6d445e
commit
62c45a311b
1 changed files with 5 additions and 5 deletions
|
@ -79,11 +79,11 @@ if "MySQL" in ASK.config:
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': CONFIG_FILE.config.get("MySQL", "Database"),
|
||||
'USER': CONFIG_FILE.config.get("MySQL", "Username"),
|
||||
'PASSWORD': CONFIG_FILE.config.get("MySQL", "Password"),
|
||||
'HOST': CONFIG_FILE.config.get("MySQL", "Host", fallback="localhost"),
|
||||
'PORT': CONFIG_FILE.config.getint("MySQL", "Port", fallback=3306)
|
||||
'NAME': ASK.config.get("MySQL", "Database"),
|
||||
'USER': ASK.config.get("MySQL", "Username"),
|
||||
'PASSWORD': ASK.config.get("MySQL", "Password"),
|
||||
'HOST': ASK.config.get("MySQL", "Host", fallback="localhost"),
|
||||
'PORT': ASK.config.getint("MySQL", "Port", fallback=3306)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue