Thanks Tom,
Did something similar: added app/ directory as a module, so now all my
imports look like app.A.
On Thursday, June 5, 2014 5:12:53 PM UTC+4, Tom Evans wrote:
>
> On Wed, Jun 4, 2014 at 8:51 AM, Vahe Evoyan > wrote:
> > I have modules in the project with the same na
from .B.models import BModel".
> Note the '.' full-stop/period before the module. I can't promise that
> will fix your problem, as the layout isn't entirely clear to me, but it
> might get you on the right track.
>
> On Wednesday, June 4, 2014 3:5
to/project/appsand sys.modules['B.models'] is referenced to the
correct file.
BTW, when I use Django's import_by_path function, everything works fine.
Any ideas how I can solve the problem without renaming the modules?
Posted sample sources
<https://github.com/vahe-evoya
3 matches
Mail list logo