title: How can i redirect from one domain to another in django app?
body: <p>Normally i would do it with <code>.htaccess</code> but django doesn't have it. </p>
  
  <p>So what is the best way and what is the code for it to redirect from www.olddomain.com to www.newdomain.com?</p>
  
  <p>NOTE: we are not using Apache, but Gunicorn</p>
  
  <p>thanx!</p>