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 <vahe@gmail.com
> > wrote:
> > I have m
dels 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:51:28 AM UTC-4, Vahe Evoyan
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-evoyan/django-mo
3 matches
Mail list logo