回到顶部

Contents

Django AttributeError: 'Query' object has no attribute '_filtered_relations'

Django 从 1.11 迁移到 Django 2 报错:

AttributeError: 'Query' object has no attribute '_filtered_relations'

cache redis 缓存是在 Django 1.11 存入的,Django 2 无法使用,需要清空 redis 缓存。


^_^
请喝咖啡 ×

前一篇: 'django.contrib.auth.middleware.AuthenticationMiddleware' must be in MIDDLEWARE in order to use the admin application.
下一篇: Error fetching command 'build_solr_schema': The 'solr' backend requires the installation of 'pysolr'. Please refer to the documentation. Command 'build_solr_schema' skipped
captcha