阿小信大人的头像
Life is short (You need Python) Bruce Eckel

tornado server部署django测试应用脚本2014-09-02 06:35

app.py

:::python

# -*- coding: utf-8 -*-

import os
import sys
import tornado.ioloop
import tornado.web
import tornado.wsgi
import tornado.httpserver
from django.core.handlers.wsgi import WSGIHandler

# 设置 Django 设置模块
_HERE = os.path.dirna

......
#Python#   #django #tornado 评论[0]阅读全文[1516]