Django admin 只有两种状态非布尔类型的字段转成布尔类型,admin 后台显示 绿色勾 和 红色叉 正常情况下 models.BooleanField 类型字段在 django admin 后台 列表页面会自动显示 绿色勾 和 红色叉,如图: 有时候我们写模型的的时候写成了其他显示文案,如果只有两种状态时,又想显示 ... continue reading django zhuoyuebiji 2020/3/11 1086
软件测试经验总结(思维导图和飞机票) 百度贴吧大神测试经验总结 大神总结的软件测试的经验,点我进入测试的世界 软件测试经验总结及测试技能图谱 https://www.processon.com/view/639c30e7f346fb3d1c015343 ... continue reading 软件测试 zhuoyuebiji 2019/7/9 1071
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 1068
Django 配置 sitemap.xml # settings.py 添加 apps: 'django.contrib.sites', 'django.contrib.sitemaps', INSTALLED ... continue reading django zhuoyuebiji 2019/7/26 1067
Git 基本命令使用 git 手册: https://git-scm.com/book/zh/v2 git - the simple guide - no deep shit! (rogerdudler.github.io) git co ... continue reading centos zhuoyuebiji 2019/7/27 1067
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 1064
错误:django.db.utils.OperationalError: no such column: django_celery_results_taskresult.hidden 原因:本地库版本太低了,升级 django-celery-results 就好了 (joyoo2) yinzhuoqundeMacBook-Pro:joyoo zhuoqun$ pip list | grep djang ... continue reading django zhuoyuebiji 2021/12/11 1062
Android Studio SDK 下工具的路径和作用 uiautomatorviewer.bat 路径:Android\sdk_r24.4.1\tools\bin 功能:在 Android 设备 上获取屏幕中的控件及布局 monkeyrunner.bat 路径:Andr ... continue reading 软件测试 zhuoyuebiji 2019/11/11 1059
HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. WARNINGS HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. 警告的意思 django model 里面 ... continue reading django zhuoyuebiji 2020/3/28 1059
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 1056