STATIC_URL NOT WORKING FOR CDN
 

I use a cdn to serve files used by apps. I set the STATIC_URL to http://static.mysite.com/ in setting.py. The django admin and other apps acknowledge this and serves files using http://static.mysite.com/admin/* etc ... but askbot removed the http:// from the beginning and replaced it with http://mysite.com/static.mysite.com/css/etc... Is there anything else I am supposed to change. Debug=True is on. Does that make a difference. Using askbot 0.7.48 django 1.4.5

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
gorge's avatar
21
gorge
asked 12 years ago
Evgeny's avatar
13.2k
Evgeny
updated 12 years ago

Comments

see more comments