Heat the oil in a large frying pan, and add the onion, garlic, squash and red chilli. Season well, and cook over a medium heat for 5-10 minutes, until the onion is fairly soft.
Add the black beans, spices, and chopped tomatoes, and mix well (I also added a dash of water because my mixture seemed fairly dry). Cover the pan, bring it to a gentle simmer, and cook for another 5-10 minutes until the butternut squash is completely cooked.
Top with the grated cheese, and allow it to melt into the dish. Serve warm.