404 页面使用腾讯公益 404 注意:django 404 自定义页面仅 debug = False 才生效 django 404、500 等配置文档: http://doc.codingdict.com/django/topics/http/views.ht ... continue reading html zhuoyuebiji 2019/11/21 1154
Django require_http_methods、require_GET、require_POST、require_safe 源码路径 ..\Lib\site-packages\django\views\decorators\http.py 部分源码 """ Decorators for views based on HTTP header ... continue reading django zhuoyuebiji 2020/1/6 1153
Django CKEditor 给 a tag(标签)添加 target 默认值 启发文档 https://ckeditor.com/docs/ckeditor4/latest/guide/dev_disallowed_content.html CKEDITOR.on( 'dialogDefinition ... continue reading django zhuoyuebiji 2020/3/7 1152
ModuleNotFoundError: No module named 'django.core.urlresolvers' 原因是在 Django 2.x 版本上,revers 已经修改其他地方去了 try: from django.urls import reverse except ImportError: # Django < ... continue reading django zhuoyuebiji 2020/3/8 1151
ERROR: Pidfile (celerybeat.pid) already exists. error log(错误日志) (joyoo) E:\djangos\joyoo>celery -A joyoo beat -l info --scheduler django_celery_beat.schedulers: ... continue reading django zhuoyuebiji 2020/5/22 1151
Add a button/form/link to Django Admin(添加按钮、表单、链接到 django admin) 继承 change_list.html 模板 新模板 change_list_custom.html 继承 django admin 的 change_list.html Django a ... continue reading django zhuoyuebiji 2020/3/3 1149
Uncaught (in promise) PushError: permission request declined Hi, it's not an code error. Since new Chrome version Notification have to bieng use by "Secure Origins". ... continue reading html zhuoyuebiji 2021/4/1 1147
无损压缩图片 Tinify AP I让您可以压缩和优化 JEPG 和 PNG 图片。 它被设计成一个 REST 服务。多种语言的客户端程序库,使得使用 Tinify API 变得非常简单。 开发文档:https://tinify.cn/develo ... continue reading 软件测试 zhuoyuebiji 2019/6/6 1142
Django url 反向解析(reverse) 和 命令空间(namespace) 关键的三个参数 appname ( 应用命名空间 ) namespace ( 应用的实例命名空间 ) name ( 视图的名字或者标识 ) 文章 django 版本 1.8 URL路由& ... continue reading django zhuoyuebiji 2019/10/30 1142
Google 和 百度 SEO google 1. 注册账号:https://search.google.com/search-console 2. 提交 sitemap 百度 1. 注册账号:https://ziyuan.baidu.co ... continue reading django zhuoyuebiji 2019/7/10 1138