For people who are here becuase adding a new view and bumped into this problem I did the above desceribed by aumo For me worked adding a empty init.py inside my folder view and inside the folder I was adding eg.
-- example-folder -- views -- `__init.py__` -- `index.py`-- `__init.py__`-- `urls.py`
hope makes sense