def get_stages(self):

        return Stage.active_records.filter(project=self)
Utility function that returns the stages on a specific project
dataset/ETHPy150Open fabric-bolt/fabric-bolt/fabric_bolt/projects/models.py/Project.get_stages