失败只有一种,就是半途而废

2018年5月14日

摘要: from app1 import models def article(request,**kwargs): # from django.urls import reverse # url=reverse('article',kwargs=kwargs) # print(url) condition 阅读全文
posted @ 2018-05-14 15:37 sun96 阅读(209) 评论(0) 推荐(0) 编辑
 
摘要: 参考链接:http://www.cnblogs.com/wupeiqi/articles/6307554.html 阅读全文
posted @ 2018-05-14 14:15 sun96 阅读(102) 评论(0) 推荐(0) 编辑
 
摘要: utils文件加下check_code.py为生成验证码的主要代码: pip3 install pillow #!/usr/bin/env python # -*- coding:utf-8 -*- import random from PIL import Image, ImageDraw, Im 阅读全文
posted @ 2018-05-14 14:13 sun96 阅读(321) 评论(0) 推荐(0) 编辑