Whenever someone visits www.example.com
or https://www.example.com
I want to forward visitors to https://example.com
I first thought I can do this in my DNS Records, but DNSimple support said it has to be via 301 redirects. Anyone can help me how to solve this in Django?