Wash the pumpkin and cut into slices, remove seeds. Cut pumpkin into small pieces. Heat 1-2 tablespoons of oil in a pot. Sauté the pumpkin in it. Add tomatoes and dried thyme, bring to the boil and simmer covered for about 15 minutes.
Cook spaghetti in boiling salted water according to package instructions. Peel and finely dice onions and garlic. Heat 1 tablespoon of oil in a frying pan. Fry the minced meat in it until crumbly. Fry onions and garlic briefly.
Season with salt, cayenne pepper and about 1 tsp curry.
Add minced meat to the pumpkin sauce and season again. Grate the parmesan. Drain spaghetti and mix with the pumpkin bolognese. Serve with parmesan and thyme leaves.