On Wed, Jun 19, 2013 at 7:51 PM, fred <[email protected]> wrote:
> I'm upgrading to django 1.5.1 on CentOs 6.4 with python 2.6.6  although I'm
> developing on a W7 with the django debug server.
>
> I am getting executing my view.py and most of the modules it uses.  But in
> one scenario, the import fails, see directory outline below
>
> NewMdsServer
>    |___NewMdsServer
>               |___settings.py
>               |___wsgi.py
>               |___ ...
>    |___app
>             |___views.py
>             |___mymodule.py
>             |___mypackage
>                        |___  __init__.py
>                        |___  x.py
>                        |___  y.py
>
> I have code in the __init__.py which then imports x, y, etc

Do the files NewMdsServer/NewMdsServer/__init__.py and
NewMdsServer/app/__init__.py exist?

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to