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. 
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

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 view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/X4aoCq5rnGEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to