1👍
✅
You need to include a file named __init__.py
in a directory to make it a package, then you can import from it
In your case you need a file api/views/__init__.py
Source:stackexchange.com