Import modules and packages causing a bit of issues - can anyone identify the main reason for my alembic migration would not run ?
Here is my project Layout
When I run the command
here the senders.py in the app/API
here the sender_model.py in the app/models
and finally here is myapp.py in the app package
- Python VERSION : 3.7.2
- I run THE pythons command on WINDOWS The App runs with no problem but the alembic migration will not migrate or upgrade
- Also i changed few time modules and packages names.
Here is my project Layout
When I run the command
python manage.py db migrateI get he below error:
Error:Traceback (most recent call last): File "manage.py",
line 3, in from myapp import app,
db File "C:\Repositories\sendeasy\app\myapp.py",
line 8, in from api.Senders import senders_api
File "C:\Repositories\sendeasy\app\api\Senders.py",
line 3, in from sender_model import *
ModuleNotFoundError: No module named 'sender_model'
Here is the manage.py in the app package.here the senders.py in the app/API
here the sender_model.py in the app/models
and finally here is myapp.py in the app package