My project directory is
"app
", "framework
" and "models
" directory are the places where i am writing my code and all these have __init__.py
file.
Now i am trying to import the modules written in framework
and models
directory from python code whithin "app
" directory.
from framework.request_handler import Shelf
from models.books import Books
However i am getting unresolved reference. Even the following fails.
from ..framework.request_handler import Shelf
from ..models.books import Books
What am i doing wrong?