爱咋咋地
发布时间:2023-11-27 10:35:43
简单的解决方法,在views.py中导入from django.views.decorators.csrf import csrf_exempt,csrf_protect然后在接收POST的方法前添加修饰@csrf_exempt 如下:@csrf_exemptdef save(request): return HttpResponse(content)......【阅读全文】
发布时间:2023-11-07 10:35:03
总是记不住,写一下吧Bashrc is executed each time you open a new terminal window, while bash_profile is executed only once when you log in to your account. ......【阅读全文】
发布时间:2023-11-05 01:54:20
今天发现系统空间不足,发现好几个目录过分的大在/var目录下面有:/var/spool/abrt/使用如下命令清理:systemctl stop abrtdsystemctl stop abrt-oopsabrt-cli rm /var/spool/abrt/*systemctl start abrtdsystemctl start abrt-oops/var/lib/flatpak使用如下命令清理:flatpak list查看安装的软件使用.........【阅读全文】