jabajke

Untitled

May 15th, 2023
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. web | from auth.models import User
  2. web | File "/usr/src/app/auth/__init__.py", line 3, in <module>
  3. web | from .api import router as api_router
  4. web | File "/usr/src/app/auth/api.py", line 4, in <module>
  5. web | from account.utils import create_account, generate_username, is_username_exists
  6. web | File "/usr/src/app/account/utils.py", line 9, in <module>
  7. web | from .models import Account
  8. web | File "/usr/src/app/account/models.py", line 4, in <module>
  9. web | from event.associations import AccountEventAssociation
  10. web | File "/usr/src/app/event/__init__.py", line 2, in <module>
  11. web | from .api import router as api_router
  12. web | File "/usr/src/app/event/api.py", line 3, in <module>
  13. web | from account.crud import get_account_from_user
  14. web | File "/usr/src/app/account/crud.py", line 6, in <module>
  15. web | from .models import Account
  16. 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)
  17.  
Advertisement
Add Comment
Please, Sign In to add comment