Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web | from auth.models import User
- web | File "/usr/src/app/auth/__init__.py", line 3, in <module>
- web | from .api import router as api_router
- web | File "/usr/src/app/auth/api.py", line 4, in <module>
- web | from account.utils import create_account, generate_username, is_username_exists
- web | File "/usr/src/app/account/utils.py", line 9, in <module>
- web | from .models import Account
- web | File "/usr/src/app/account/models.py", line 4, in <module>
- web | from event.associations import AccountEventAssociation
- web | File "/usr/src/app/event/__init__.py", line 2, in <module>
- web | from .api import router as api_router
- web | File "/usr/src/app/event/api.py", line 3, in <module>
- web | from account.crud import get_account_from_user
- web | File "/usr/src/app/account/crud.py", line 6, in <module>
- web | from .models import Account
- web | ImportError: cannot import name 'Account' from partially initialized module 'account.models' (most likely due to a circular import) (/usr/src/app/account/models.py)
Advertisement
Add Comment
Please, Sign In to add comment