Instead of http:// I recommend using just // , for example:
<link href="//
netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css"
rel="stylesheet">
<script src="//
netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js
"></script>


On Sat, Apr 13, 2013 at 6:29 PM, Vincent Fulco <vful...@gmail.com> wrote:

> [SOLVED] Oddly, copied right from an online resource and colon was missing
> in web address, accesses external site correctly now.
>
>
> On Saturday, April 13, 2013 9:37:07 AM UTC-5, Vincent Fulco wrote:
>>
>> 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<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<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://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+unsubscr...@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.
>
>
>

-- 
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+unsubscr...@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.


Reply via email to