Pre heat oven 200c/180c fan/Gas 6.
Place the prepared shallots and squash or pumpkin into a roasting tin, sprinkle over the olive oil. Cook for approx 30-40 minutes until softened and beginning to brown. Stir in the pesto.
Heat the lentils according to pack directions and serve with the roasted vegetables piled on top.