Dice the onion and fry in vegetable oil until golden brown.
Grate the margarine and add to the flour, also add sour cream and soda. Mix well and knead the dough.
Divide the dough into two pieces; one should be larger than the second. Put in the refrigerator for half an hour.
For the filling, mix the fried onions, grated processed cheese, eggs, chopped herbs to taste, add salt and spices to taste. Mix everything until smooth.
Roll out the larger dough to the size of the mold, put in the mold before greasing with butter. Make the sides of the dough.
Put the filling on the dough and evenly distribute.
Roll out the second piece of dough and close the pie. Bake at 180 degrees for 50 minutes. Top to get a golden crust grease with whipped yolk.
Cheese and onion pie is a great appetizer for the whole family, it is hearty, tender and delicious. Cooking such a pie is not too difficult. Dough margarine can be replaced with butter, also use your favorite herbs and spices for the filling. This cake is well suited for a hearty breakfast or as an addition to the first dishes.