Skip to content
New issue

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

ImportError Q #34

Open
G-shaft opened this issue Apr 1, 2023 · 1 comment
Open

ImportError Q #34

G-shaft opened this issue Apr 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@G-shaft
Copy link

G-shaft commented Apr 1, 2023

tornadmin/backends/forms.py:
from tortoise.query_utils import Q

The Q class is currently in tortoise.expressions

@bhch
Copy link
Owner

bhch commented Apr 1, 2023

Yes, that happens with the new tortoise-orm versions.

For the time being, you can install an older version: pip install tortoise-orm==0.17.3 and this issue will be go away.

I'll fix this issue soon.

@bhch bhch added the bug Something isn't working label Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants