Python packages - import by class, not file
You need to put
from project import Project
in controllers/__init__.py
.
Note that when Absolute imports become the default (Python 2.7?), you will want to add a dot before the module name (to avoid collisions with a top-level model named project
), i.e.,
from .project import Project