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 1520
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 458
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 107
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 1141
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 443
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 372
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 133
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 409
Django.db.utils.IntegrityError: UNIQUE constraint failed: blog_articlelike.article_id, blog_articlelike.ip 已存在的数据表添加 unique_together,报错: django.db.utils.IntegrityError: UNIQUE constraint failed: blog_articlelike.article ... continue reading django zhuoyuebiji 2020-5-21 690
Centos 查看端口是否被使用(netstat 和 lsof) [root@VM_2_29_centos ~]# netstat -anp | grep 9090 tcp 0 0 127.0.0.1:9090 0.0.0.0:* ... continue reading centos zhuoyuebiji 2020-5-21 874