|
@@ -46,6 +46,8 @@ INSTALLED_APPS = [
|
|
'apps.account',
|
|
'apps.account',
|
|
'apps.customer',
|
|
'apps.customer',
|
|
'apps.log',
|
|
'apps.log',
|
|
|
|
+ 'apps.vehicle',
|
|
|
|
+ 'apps.wechat',
|
|
'apps.xgjsms',
|
|
'apps.xgjsms',
|
|
]
|
|
]
|
|
|
|
|
|
@@ -106,7 +108,7 @@ TEMPLATES = [
|
|
},
|
|
},
|
|
]
|
|
]
|
|
|
|
|
|
-WSGI_APPLICATION = 'net_car.wsgi.application'
|
|
|
|
|
|
+WSGI_APPLICATION = 'car_net.wsgi.application'
|
|
|
|
|
|
|
|
|
|
# Database
|
|
# Database
|
|
@@ -115,9 +117,9 @@ WSGI_APPLICATION = 'net_car.wsgi.application'
|
|
DATABASES = {
|
|
DATABASES = {
|
|
'default': {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
- 'NAME': 'net_car',
|
|
|
|
|
|
+ 'NAME': 'car_net',
|
|
'USER': 'root',
|
|
'USER': 'root',
|
|
- 'PASSWORD': 'lyh123',
|
|
|
|
|
|
+ 'PASSWORD': '123456',
|
|
'HOST': '127.0.0.1',
|
|
'HOST': '127.0.0.1',
|
|
'PORT': 3306,
|
|
'PORT': 3306,
|
|
}
|
|
}
|