Crossed import in django

Posted by Kuhtraphalji on Stack Overflow See other posts from Stack Overflow or by Kuhtraphalji
Published on 2010-06-02T13:30:16Z Indexed on 2010/06/05 8:42 UTC
Read the original article Hit count: 193

Filed under:
|
|
|

On example, i have 2 apps: alpha and beta in alpha/models.py import of model from beta.models and in beta/models.py import of model from alpha.models

manage.py validate says that ImportError: cannot import name ModelName

how to solve this problem?

© Stack Overflow or respective owner

Related posts about python

Related posts about django