I would guess there's a circular dependency: courseware.courses tries to import courseware.access.  Ideally, that would be fixed, but that might require moving a lot of code.