Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
strategy_embedding
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
strategy_embedding
Commits
ea608bda
Commit
ea608bda
authored
Sep 23, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update settings
parent
08cc5aeb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
manage.py
manage.py
+1
-1
settings.py
strategy_embedding/settings.py
+3
-3
urls.py
strategy_embedding/urls.py
+1
-1
wsgi.py
strategy_embedding/wsgi.py
+2
-2
No files found.
manage.py
View file @
ea608bda
...
@@ -3,7 +3,7 @@ import os
...
@@ -3,7 +3,7 @@ import os
import
sys
import
sys
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
base
.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
strategy_embedding
.settings"
)
try
:
try
:
from
django.core.management
import
execute_from_command_line
from
django.core.management
import
execute_from_command_line
except
ImportError
:
except
ImportError
:
...
...
strategy_embedding/settings.py
View file @
ea608bda
"""
"""
Django settings for
base
project.
Django settings for
strategy_embedding
project.
Generated by 'django-admin startproject' using Django 1.10.6.
Generated by 'django-admin startproject' using Django 1.10.6.
...
@@ -49,7 +49,7 @@ MIDDLEWARE = [
...
@@ -49,7 +49,7 @@ MIDDLEWARE = [
"django.middleware.clickjacking.XFrameOptionsMiddleware"
,
"django.middleware.clickjacking.XFrameOptionsMiddleware"
,
]
]
ROOT_URLCONF
=
"
base
.urls"
ROOT_URLCONF
=
"
strategy_embedding
.urls"
TEMPLATES
=
[
TEMPLATES
=
[
{
{
...
@@ -67,7 +67,7 @@ TEMPLATES = [
...
@@ -67,7 +67,7 @@ TEMPLATES = [
},
},
]
]
WSGI_APPLICATION
=
"
base
.wsgi.application"
WSGI_APPLICATION
=
"
strategy_embedding
.wsgi.application"
# Database
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
...
...
strategy_embedding/urls.py
View file @
ea608bda
"""
base
URL Configuration
"""
strategy_embedding
URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
https://docs.djangoproject.com/en/1.10/topics/http/urls/
...
...
strategy_embedding/wsgi.py
View file @
ea608bda
"""
"""
WSGI config for
base
project.
WSGI config for
strategy_embedding
project.
It exposes the WSGI callable as a module-level variable named ``application``.
It exposes the WSGI callable as a module-level variable named ``application``.
...
@@ -11,6 +11,6 @@ import os
...
@@ -11,6 +11,6 @@ import os
from
django.core.wsgi
import
get_wsgi_application
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
()
application
=
get_wsgi_application
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment