title: Sentry (Django) Configuration issue - SENTRY_ALLOW_ORIGIN
body: <p>I'm having issues with <a href="https://pypi.python.org/pypi/sentry" rel="nofollow" title="Sentry on PyPi">Sentry</a> running on my internal server. I walked through the docs to get this installed on a Centos machine. It seems to run, but none of the asynchronous javascript is working.</p>
  
  <p><strong>Can someone help me find my mistake?</strong></p>
  
  <p>This is what Chrome keeps complaining about:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load
    <a href="http://test.example.com/api/main-testproject/testproject/poll/" rel="nofollow">http://test.example.com/api/main-testproject/testproject/poll/</a>. No
    'Access-Control-Allow-Origin' header is present on the requested
    resource. Origin '<a href="http://test.example.com:9000" rel="nofollow">http://test.example.com:9000</a>' is therefore not allowed
    access.</p>
  </blockquote>
  
  <p>I'm new to Django, but I am comfortable with python web services. I figured there was surely a configuration I missed. I found something in the docs referring to a setting I should use; <a href="http://sentry.readthedocs.org/en/latest/config/index.html?highlight=SENTRY_ALLOW_ORIGIN#" rel="nofollow" title="Documentation for Sentry, highlighting the relevant setting">SENTRY_ALLOW_ORIGIN</a>.  </p>
  
  <pre><code># You MUST configure the absolute URI root for Sentry:
  SENTRY_URL_PREFIX = 'http://test.example.com'  # No trailing slash!
  SENTRY_ALLOW_ORIGIN = "http://test.example.com"
  </code></pre>
  
  <p>I even tried various paths to my server by using the fully qualified domain name, as well as the IP. None of this seemed to help. As you can see from the chrome error, I was actively connected to the domain name that was throwing the error.</p>