If you do not have mawa, then use condensed milk.
Pumpkin is made with the same method like we make Carrot (Gajar ) Halwa.
Peel and wash the pumpkin. Put the grated pumpkin into the pan along with ghee and cook it covered on low or medium flame. Keep on stirring the pumpkin at short intervals.
Once the pumpkin becomes tender add sugar to it. After adding the sugar you will see that the juice will start extracting from the pumpkin. Increase the flame and stir the pumpkin continuously till all the juice gets reduced and dries off.
Now put the grated mawa along with cashews and raisins into the pan and mix well. Stir the halwa and cook for 3-4 minutes. Add cardamom to it and mix well.
Kaddu Halwa - Butternut Squash Halva - Pumpkin halwa is ready. Take it out in a serving dish and garnish with chopped pistachios and cashews and serve it hot. You can consume this halwa for over a week.
If you do not have mawa, then use condensed milk.