It seems Google has managed to spider some of my heroku apps pages on the app sub domain i.e. myapp.herokuapp.com. I need to do a 301 redirect so all these pages point to the actual apps domain www.myapp.com
Any idea how I do this in Django? I see the redirect app only works for 404s so this won't be any good, and all the examples for RedirectView are for the domain path.