Commit ea608bda authored by 赵威's avatar 赵威

update settings

parent 08cc5aeb
......@@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "base.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "strategy_embedding.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
......
"""
Django settings for base project.
Django settings for strategy_embedding project.
Generated by 'django-admin startproject' using Django 1.10.6.
......@@ -49,7 +49,7 @@ MIDDLEWARE = [
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
ROOT_URLCONF = "base.urls"
ROOT_URLCONF = "strategy_embedding.urls"
TEMPLATES = [
{
......@@ -67,7 +67,7 @@ TEMPLATES = [
},
]
WSGI_APPLICATION = "base.wsgi.application"
WSGI_APPLICATION = "strategy_embedding.wsgi.application"
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
......
"""base URL Configuration
"""strategy_embedding URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
......
"""
WSGI config for base project.
WSGI config for strategy_embedding project.
It exposes the WSGI callable as a module-level variable named ``application``.
......@@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "base.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "strategy_embedding.settings")
application = get_wsgi_application()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment