title: Django static tag prepending multiple http
body: <p>What are the appropriate Django settings for use with the <a href="https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#static" rel="nofollow">static</a> tag?</p>
  
  <p>I have STATIC_URL set to:</p>
  
  <pre><code>STATIC_URL = '//myid.cloudfront.net/'
  </code></pre>
  
  <p>which is protocol-less so I can use it on secure and non-secure versions of my site.</p>
  
  <p>But when I use it in a template like:</p>
  
  <pre><code>&lt;img src="{% static 'i/myimg.png' %}" /&gt;
  </code></pre>
  
  <p>it renders as:</p>
  
  <pre><code>&lt;img src="http:http:http:http:http:http:http:http:http:http://myid.cloudfront.net/i/myimg.png" /&gt;
  </code></pre>
  
  <p>What would be causing so many redundant "http:" being prepended?</p>