修改数据库账号

main
RogerWork 11 months ago
parent b02c3aba3d
commit b4e22e3f07
  1. 4
      dingxin_toolbox_drf/settings.py
  2. 2
      mock/views.py

@ -84,8 +84,8 @@ DATABASES = {
"ENGINE": "django.db.backends.mysql", "ENGINE": "django.db.backends.mysql",
"HOST": "home.rogersun.cn", "HOST": "home.rogersun.cn",
"PORT": 3306, "PORT": 3306,
"USER": "root", "USER": "dingxin",
"PASSWORD": "Sxzgx1209", "PASSWORD": "cine123456",
"NAME": "dingxin_toolbox", "NAME": "dingxin_toolbox",
} }
} }

@ -10,7 +10,7 @@ import pymysql
from django.core.management.commands.runserver import Command as runserver from django.core.management.commands.runserver import Command as runserver
import socket import socket
from mock.mock_templates import * from mock.mock_templates import *
from cinema_sql import * from mock.cinema_sql import *
ZZ_URL = 'https://zzcs.yinghezhong.com' ZZ_URL = 'https://zzcs.yinghezhong.com'

Loading…
Cancel
Save