#18364: Can't server static files with version information
---------------------------------+--------------------
Reporter: f@… | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
Hi,
from the source code it seams that I can't server staticfiles with a
version information.
In my template I have the following:
{{{
{% load staticfiles %}
<script language="javascript" type="text/javascript" src="{% static
"js/jquery.min.js?v=1.4.2" %}"></script>
}}}
This will result in this URL:
{{{
http://hostname/static/js/jquery.min.js%3Fv%3D1.4.2
}}}
See the escaped "?" sign which makes the version number a part of the URL
and not a get paramter.
Am I missing something?
Sincerely, Fabian
--
Ticket URL: <https://code.djangoproject.com/ticket/18364>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.