摘要: class WSGIHandler(base.BaseHandler): request_class = WSGIRequest def __init__(self, *args, **kwargs): super(WSGIHandler, self).__init__(*args, **kwarg 阅读全文
posted @ 2018-09-13 16:14 十七楼的羊 阅读(261) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import logging from django.conf import settings from django.contrib.auth import authenticate from django.contrib.auth.models i 阅读全文
posted @ 2018-09-13 09:59 十七楼的羊 阅读(191) 评论(0) 推荐(0) 编辑