Unexpected warning #1849
Unanswered
javier-jllp
asked this question in
Q&A
Replies: 1 comment
-
Hi! It's really hard to help you there without more info Could you show how your Tortoise.init looks like, what is hierarchy of your files, their content and etc The error by itself just means that in files you passed to init - there were no classes descendant from tortoise's Model class |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, first greetings to the Tortoise community. The project is very good, but it seems that some adjustments need to be made, I have this problem, having a model in my models.py, actually I have many applications but it is the only one that launches this one. .
/home/jllp/Programming/fastapi/unionapp/.venv/lib/python3.12/site-packages/tortoise/init.py:522: RuntimeWarning: Module "apps.followers.models" has no models
I had already experienced this kind of occurrence in my other projects, I thought it was my setup, I checked again and again and couldn't find a solution...
I will be waiting for your response and thank you in advance...
Beta Was this translation helpful? Give feedback.
All reactions