We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
试了下网上说的方法, 把 from django.db.models.sql.query import LOOKUP_SEP, QUERY_TERMS 改成
from django.db.models.sql.query import LOOKUP_SEP, QUERY_TERMS
from django.db.models.sql.query import LOOKUP_SEP from django.db.models.sql.constants import QUERY_TERMS
还是报错 cannot import name 'QUERY_TERMS' from 'django.db.models.sql.constants'
cannot import name 'QUERY_TERMS' from 'django.db.models.sql.constants'
The text was updated successfully, but these errors were encountered:
我跟你同一个问题,不仅仅是这个问题后面还有好多问题,好像都是新版本更改了引用路径
Sorry, something went wrong.
@bestshanjinghao 解决了吗
django 2.1 没有这个东西了.
Django降级到2,0.2就解决了 应该就是wgbbiao 老哥说的原因
@bestshanjinghao 好的 谢谢啦
No branches or pull requests
试了下网上说的方法,
把
from django.db.models.sql.query import LOOKUP_SEP, QUERY_TERMS
改成
还是报错
cannot import name 'QUERY_TERMS' from 'django.db.models.sql.constants'
The text was updated successfully, but these errors were encountered: