title: Django Twitter callback goes to IP-address, not domain
body: <p>I suddenly got a problem with the twitter redirect going to the IP-adress of my site, not the actual domain, after authorization. This has been working as expected before.</p>
  
  <p>I am using Django for my project, and the IP-adress is in the ALLOWED_HOSTS list. The twitter application itself is correctly figured with the domain, not any IP-adress, it just "chooses" to use the IP, it seems.</p>
  
  <p>Have I misconfigured something server-side maybe? Im a bit of a Django newbie.</p>
  
  <p>Thanks for any suggestions.</p>