Peel the potatoes, peel the onions. Roughly grate the pumpkin, potato and onion. Stir in eggs and season well with salt and pepper. Heat the oil in a wide pan, add the mixture and flatten it. Fry over medium heat for 15 minutes until the underside is golden brown. Turn carefully, add a little oil if necessary and fry for another 10-15 minutes.