title: Django returns 403 error when sending a POST request
body: <p>when I'm using following Python code to send a POST request to my Django website I'm getting 403: Forbidden error.</p>
  <pre><code>url = 'http://www.sub.example.com/'
  values = { 'var': 'test' }
  
  try:
      data = urllib.urlencode(values, doseq=True)
      req = urllib2.Request(url, data)
      response = urllib2.urlopen(req)
      the_page = response.read()
  except:
      the_page = sys.exc_info()
      raise
  </code></pre>
  <p>When I'm opening any other website it works properly.
  <code>example.com</code> is Django website too, and it works properly too.
  I think, that's Django config problem, can anyone tell me what should I do to provide access to my script?</p>