I don't think it's a django question. For security reasons, HTTP browser
will block access resources in a different site(domain) by AJAX request.
You should add Access-Control-Allow-Origin and Access-Control-Allow-Methods
headers (response for OPTION request) to declar your willings.
On Sep 8, 2013 6:29 AM, "Zach Frank" <[email protected]> wrote:

> Having same problem.. did you figure anything out?
>
> Z
>
> On Thursday, October 11, 2012 12:57:30 PM UTC-5, Matteo Suppo wrote:
>>
>> I found this: http://comments.gmane.**org/gmane.comp.python.django.**
>> django-cms/1202<http://comments.gmane.org/gmane.comp.python.django.django-cms/1202>
>>
>> and I decided to use tinymce for now. It's not solved though. I will do
>> something, maybe.
>>
>> On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote:
>>>
>>> Ok, here's a fun one.
>>>
>>> I set up a django installation on Heroku, added the django-cms app,
>>> deployed on heroku, and collected the static files on AWS.
>>>
>>> The problem is Django-CMS tries to load the js file for the wymeditor
>>> but AWS says:
>>>
>>> MLHttpRequest cannot load https://s3.amazonaws.com/[...]**
>>> /cms/js/wymeditor/skins/**django/skin.js<https://s3.amazonaws.com/%5B...%5D/cms/js/wymeditor/skins/django/skin.js>.
>>> Origin [...] is not allowed by Access-Control-Allow-Origin.
>>>
>>> I actually searched a lot, and discovered this: http://docs.**
>>> amazonwebservices.com/**AmazonS3/latest/dev/cors.html<http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html>
>>>
>>> Seems like a solution, but even if I activated it, nothing works.
>>>
>>> I'm at loss. It should work but it doesn't. Am I missing something here?
>>> Maybe it doesn't work the way I thought? Should I ask AWS directly?
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to