def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def projectdir(self):
        """Absolute location of project directory: WM_PROJECT_DIR/"""
        return self.prefix  # <- install directly under prefix