title: How do i cache bust with Django's staticfiles?
body: <p>I have a webpage which includes an image. I wish to cache bust that image using the ? technique. However, staticfiles encodes questionmarks as '%3F', so the path is no longer correct.</p>
  
  <pre><code>{% load staticfiles %}
  &lt;img src="{% static 'poll/img/test.jpg?v2' %}"&gt;
  </code></pre>
  
  <p>Gets compiled as.</p>
  
  <pre><code>&lt;img src="/static/poll/img/test.jpg%3Fv2"&gt;
  </code></pre>
  
  <p>There is no <code>test.jpg%3Fv2</code> file. So it doesn't show. Using <code>static</code> it works fine. </p>
  
  <pre><code>{% load static %}
  &lt;img src="{% static 'poll/img/test.jpg?v2' %}"&gt;
  </code></pre>
  
  <p>Get's compiled as expected. I want to use <code>staticfiles</code> rather than <code>static</code> as I serve my static files from a cloud service. Is there a way to prevent the encoding of my string path or a workaround of the problem?</p>