Re: Django app and a submodule name conflict

2014-06-06 Thread Vahe Evoyan
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

Re: Django app and a submodule name conflict

2014-06-04 Thread Vahe Evoyan
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

Django app and a submodule name conflict

2014-06-04 Thread 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