Django
Rubick_Y
这个作者很懒,什么都没留下…
展开
-
django-mongoengine基本配置
"""Django settings for beecloud_api project.Generated by 'django-admin startproject' using Django 3.0.4.For more information on this file, seehttps://docs.djangoproject.com/en/3.0/topics/settings/For the full list of settings and their values, see原创 2020-10-22 18:08:54 · 844 阅读 · 0 评论 -
Django+nginx+gunicorn+fabric部署学习
最近在学习一个 Django博客教程,边学边练习。在Vultr上部署花了好长时间。写点心得总结一下部署方法。另外,Vultr的注册链接。安装软件yangxg@localhost:~$ sudo apt-get install nginxyangxg@localhost:~$ sudo apt-get install git python3 python3-pipyangxg@loc...原创 2018-04-12 06:44:31 · 377 阅读 · 0 评论 -
django_类视图bug
RuntimeError: You called this URL via POST, but the URL doesn’t end in a slash and you have APPEND_SLASH set.使用postman 测试Django 类视图的 post 方法时遇到如下bug:RuntimeError: You called this URL via POST, but t...原创 2018-10-13 17:17:24 · 195 阅读 · 0 评论