I have a directory with a number of .py files in it. each file defines some classes. I also have an empty __init__.py in the directory.
.py
__init__.py
Fo
You need an __init__.py in the myproject directory too. So your module structure should be:
myproject __init__.py mymodule __init__.py api.py models.py views.py