企业管理中著名的 X-Y 理论 之前看过一个新闻,说的是国外一家公司,员工都不用打卡,甚至不用去公司,每天全世界旅游,想什么时候办公就什么时候办公,想在哪办公就在哪里办公。 那家公司的老板表示,没必要让员工每天朝九晚五,只要完成交代的工作就行了,别的不管,这样的管理 ... continue reading 闲话杂谈 zhuoyuebiji 2020-6-3 1032
Django 1.11 项目迁移到 2.2 注意事项 各种依赖包的错误和 Django 版本语法的兼容性 解决后还需要注意以下情况: Python 环境方面 如果 Django 1.11 和 Django 2.2 的虚拟环境目录不一样,使用到 虚拟环境 目录的(如:uwsgi ... continue reading django zhuoyuebiji 2020-5-30 509
List of Chromium Command Line Switches There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, othe ... continue reading 软件测试 zhuoyuebiji 2020-5-29 285
ImportError: cannot import name 'QUERY_TERMS' 错误背景(background ) Django 1.11 upgrade to Django 2.x 错误日志(error log) File "<frozen importlib._b ... continue reading django zhuoyuebiji 2020-5-27 1642
Django.template.exceptions.TemplateDoesNotExist: django_filters/rest_framework/crispy_form.html 错误日志(error log): django.request: 2020-05-27 15:43:54,265 E:\py_virtualenv\joyoo\lib\site-packages\django\utils\log. ... continue reading django zhuoyuebiji 2020-5-27 527
How to access the HttpRequest object in Django forms( Django view 给 forms 传递数据) Example 1: PASSING THE REQUEST OBJECT TO THE FORM In your view, when you create a form instance, pass the request ... continue reading django zhuoyuebiji 2020-5-26 184
Drf 启动报错:AssertionError: `coreapi` must be installed for schema support. 错误日志(error log): AssertionError: `coreapi` must be installed for schema support. 解决办法(solution): (joyoo2) yin ... continue reading django zhuoyuebiji 2020-5-25 1282
Django2.2 TypeError: render() got an unexpected keyword argument 'renderer' 从Django 1.11 迁移到 Django 2.2 后 AdminFileWidget 的 render 报错了: TypeError: render() got an unexpected keyword argument ... continue reading django zhuoyuebiji 2020-5-24 557
Django 2.2 django.core.exceptions.improperlyconfigured sqlite 3.8.3 or later is required (found 3.7.17) 在 centos7 上面执行 migrate 时提示: django.core.exceptions.improperlyconfigured sqlite 3.8.3 or later is required (found 3.7. ... continue reading django zhuoyuebiji 2020-5-24 455
Model_utils _clone() got an unexpected keyword argument 'subclasses' 发生环境 从 Django 1.11 迁移到 Django 2.2 错误日志 django.request: 2020-05-22 16:12:18,196 E:\py_virtualenv\joyoo\lib\sit ... continue reading django zhuoyuebiji 2020-5-22 212