Make the pastry. Grate the cold butter into the flour and mix. Add the cold water and knead the dough. Chill for 30 minutes. Roll out the chilled dough and line a buttered pie tin with it (I use a 26 cm tin). Prick it well with a fork and bake in an oven preheated to 220°C for 10–15 minutes. The pastry will then be filled.
Prepare the filling. Finely chop the onion and grate the carrot, then fry them. When the onion is nicely browned, add the spinach leaves and fry briefly.
Spread the fried mixture over the partially baked pastry. Add crumbled feta. Beat the eggs and milk with a fork or whisk, season with salt and pepper, and pour over the filling. Top with grated cheese. Bake at 200°C for about 40 minutes.