when I\'m using following Python code to send a POST request to my Django website I\'m getting 403: Forbidden error.
url = \'http://www.sub.domain.com/\' values
Does the view that you are posting to have a Django Form on it? If so, I wonder if it's giving a csrf error. I think that manifests itself as a 403. In that case, you'd need to add the {{ csrf_token }} tag. Just a thought.