import myproect.model
import myproject.model.db
frm myproject model import db
If they all fail, make sure myproject/model/db.py exists. If the
first works. the others should too.
Importing db into model solves a different problem: it allows you to
use db by just importing model, without having to import db
separately. That's a matter of taste.
--Mike
--
Mike Orr <slugg...@gmail.com>