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, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see原创 2020-10-22 18:08:54 · 788 阅读 · 0 评论 -
Django+nginx+gunicorn+fabric部署学习
最近在学习一个 Django博客教程,边学边练习。在Vultr上部署花了好长时间。写点心得总结一下部署方法。另外,Vultr的注册链接。 安装软件 yangxg@localhost:~$ sudo apt-get install nginx yangxg@localhost:~$ sudo apt-get install git python3 python3-pip yangxg@loc...原创 2018-04-12 06:44:31 · 343 阅读 · 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 · 167 阅读 · 0 评论