If I have two python modules in a directory main.py and somemodule.py, I can import somemodule by using import somemodule.
./
main.py
somemodule.py
__init__.py
In django application where we have urls.py and views.py, why won't import views work in this case? But relative import from . import views works?