摘要:
服务器简介 阅读全文
摘要:
csrf相关装饰器 from django.views.decorators.csrf import csrf_exempt,csrf_protect"""csrf_exempt 忽略csrf校验csrf_protect 开启csrf校验"""# 针对FBV@csrf_protect\@csrf_e 阅读全文
摘要:
django操作cookie补充 set_singned_cookie(key,value,salt='加密盐')set_singned_cookie(Key,value,max_age=超时时间:默认是秒数)expires:专门针对IE浏览器设置超时时间 HttpResponse对象.delete 阅读全文
摘要:
Django Form表单组件 阅读全文