Commit 7ee5d667 authored by zhengdixun's avatar zhengdixun

add files

parent fdad0def
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
# 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
# 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
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