Django
happym_m
这个作者很懒,什么都没留下…
展开
-
Django之CSRF 入门
Django中CSRF防护原理及使用 https://blog.csdn.net/haoaiqian/article/details/72803936django为用户实现防止跨站请求伪造的功能,通过中间件 django.middleware.csrf.CsrfViewMiddleware 来完成。而对于django中设置防跨站请求伪造功能有分为全局和局部。全局:中间件 djang...转载 2019-01-26 19:34:35 · 272 阅读 · 1 评论 -
django入门 笔记(一) 安装
感谢原作者参考文档:https://my.oschina.net/u/3758825/blog/1612098python官方教程:https://docs.python.org/3.7/tutorial/index.htmlPython 3.7.2官方文档:https://docs.python.org/3.7/index.htmldjango1.X路由的url与2.X路由pat...转载 2019-02-18 17:50:18 · 1131 阅读 · 0 评论