1👍
✅
You shouldn’t add that directory to the path.
You have two issues: firstly, as adriansq points out, you need an empty __init__.py
in that directory. And secondly, it is in the wrong place; it should be one level higher, directly under the outer mysite
directory.
1👍
Can you please us the code of the file where you want to import the view?
I think you have missed to create a __init__.py
inside the customviews folder?
Source:stackexchange.com