Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
training
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qa
training
Commits
7ee5d667
Commit
7ee5d667
authored
Dec 21, 2017
by
zhengdixun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add files
parent
fdad0def
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
1 deletion
+45
-1
README.md
README.md
+10
-1
manage.py
manage.py
+14
-0
wsgi.py
training/wsgi.py
+21
-0
No files found.
README.md
View file @
7ee5d667
git add, commit, pull, checkout, stash, push
第三方mock工具
基于django开发
启动方式
创建虚拟环境
virtuenv -p python3.5 training
pip install -r requirement.txt
python manage.py runserver
\ No newline at end of file
manage.py
0 → 100644
View file @
7ee5d667
# coding: utf-8
# __author__ = 'zdx'
# __date__ = '2017-12-21 15:29'
import
os
import
sys
if
__name__
==
"__main__"
:
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"training.settings"
)
from
django.core.management
import
execute_from_command_line
execute_from_command_line
(
sys
.
argv
)
\ No newline at end of file
training/wsgi.py
0 → 100644
View file @
7ee5d667
# coding: utf-8
# __author__ = 'zdx'
# __date__ = '2017-12-21 15:31'
"""
WSGI config for thor project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""
import
os
from
django.core.wsgi
import
get_wsgi_application
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"training.settings"
)
application
=
get_wsgi_application
()
\ No newline at end of file
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