(Nov-10-2018, 10:00 AM)Larz60+ Wrote: hard to say without seeing all code involved.
Is the code that is doing the importing in the same directory as the imported code?
do you have an __init__.py file (properly set up)? http://mikegrouchy.com/blog/2012/05/be-p...t__py.html
I had to to include the parent folder as part of my import although the two files are in the same folder;
from blog.posts import Post
The reason relates to __init__.py as explained in the link you included.
Thanks!