Preheat the oven to 180C Gas Mark 4
Roll out the pastry and use it to line a flan tin which has been greased.
Bake blind for 15 minutes then set to one side
Peel and chop the onion into rings
Cook the sausages in a frying pan until they are done. Chop into pieces and add to the pastry case.
Cook the onion rings until golden and add to the pastry case
Mix together the cream, eggs and grated cheese and pour into the pastry case.
Bake for 30 minutes until the filling is set and golden