If it's in the app itself, try import .models?
On 9 January 2014 15:27, Don Fox wrote:
> In my manage.py shell I can load the following module:
> from userprofile.models import NPIdata
>
> However inside a file of utility functions located in the userprofile app
> the same import statement yiel
In my manage.py shell I can load the following module:
*from userprofile.models import NPIdata*
However inside a file of utility functions located in the userprofile app
the same import statement yields *ImportError:* 'No module named
userprofile.models'
I'm mystified!
Any hints or help welc
2 matches
Mail list logo