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 442
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 132
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 405
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
Error fetching command 'build_solr_schema': The 'solr' backend requires the installation of 'pysolr'. Please refer to the documentation. Command 'build_solr_schema' skipped 错误提示: Error fetching command 'build_solr_schema': The 'solr' backend requires the installation of 'pysolr'. Please ... continue reading django zhuoyuebiji 2020/5/21 950
Django AttributeError: 'Query' object has no attribute '_filtered_relations' Django 从 1.11 迁移到 Django 2 报错: AttributeError: 'Query' object has no attribute '_filtered_relations' ... continue reading django zhuoyuebiji 2020/5/20 255