login community faq
0
1

I need to add this one line of code to my header in order to allow cross-domain requests. How do I do that with my django installation?

I just need to grant access to http://secure.codepen.io

asked Oct 16 '12 at 11:37

vegan's gravatar image

vegan
52

edited Oct 16 '12 at 11:39


This middleware looks like what you need: Django middleware for cross-domain XHR - I've answered the unanswered questions on that page.

answered Oct 16 '12 at 16:05

seanf's gravatar image

seanf ♦♦
55991220

Thank you.

(Oct 18 '12 at 09:56) vegan vegan's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×641
×5
×3

Asked: Oct 16 '12 at 11:37

Seen: 277 times

Last updated: Oct 18 '12 at 09:56

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited