随笔分类 -  项目知识点记录

摘要:首先导入 def laocunzhang(request): ret = {'status': '','msg': ""} print(request.POST) print(request.FILES) dic = { 'error': 0, 'url': '/static/imgs/4.jpg' 阅读全文
posted @ 2019-04-18 10:56 黑色薄荷糖 阅读(417) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="https://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js"></ 阅读全文
posted @ 2019-04-16 21:29 黑色薄荷糖 阅读(147) 评论(1) 推荐(0)
摘要:详细内容请见:https://blog.csdn.net/weixin_42100915/article/details/80851474 阅读全文
posted @ 2019-04-01 10:28 黑色薄荷糖 阅读(211) 评论(0) 推荐(0)
摘要:def clean(self):#验证两次密码是否一致 pwd=self.cleaned_data.get('pwd') print(pwd) pwd_confirm=self.cleaned_data.get('pwd_confirm') print(pwd_confirm) if pwd==pw 阅读全文
posted @ 2019-03-31 21:36 黑色薄荷糖 阅读(346) 评论(0) 推荐(0)