How to run cdn link in a local setup without screwed up hyperlink?
Attempting to use bootstrapcdn.com in a local bootstrap template on a VM (with 2nd IP address to outside world) before pushing to heroku. Standard code in the head:
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
<script src="http//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
Static urls ref in other lines works fine--> <link href="{{STATIC_URL}}css/custom.css" rel="stylesheet">
Django base.py seems to be set up correctly but I get a mangled hyperlink and #404 error:
/website/http//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js HTTP/1.1" 404 2915
TIA, V.
--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home