title: Django cartridge paypal return url not working
body: <h1>Problem</h1>
  <p>I've been following <a href="http://greenash.net.au/thoughts/2014/03/using-paypal-wps-with-cartridge-mezzanine-django/" rel="nofollow noreferrer">this</a> tutorial on implementing Django cartridge with paypal.
  Everything is hosted on AWS. And everything is working fine at least with the sandbox account. Except return url, when I make a payment and click on the link to return to the shop I'm redirected to my complete page only that my host name is changed to my amazon instance internal ip address.</p>
  <h1>Discoveries</h1>
  <p>When form for request to Paypal is created return url field is initialised with value from Django's <a href="https://docs.djangoproject.com/en/1.9/ref/request-response/#django.http.HttpRequest.get_host" rel="nofollow noreferrer">request.get_host()</a>. Problem is that AWS use they own load balancing so address of the machine is returned. I've tried to enable USE_X_FORWARDED_HOST in settings but it still doesn't work.</p>