Browse Source

Host jquery ourselves (instead of Google)

Baptiste Jonglez 11 years ago
parent
commit
dff284928c
2 changed files with 9557 additions and 1 deletions
  1. 9555 0
      coin/static/js/jquery.js
  2. 2 1
      coin/templates/admin/base_site.html

File diff suppressed because it is too large
+ 9555 - 0
coin/static/js/jquery.js


+ 2 - 1
coin/templates/admin/base_site.html

@@ -1,8 +1,9 @@
 {% extends "admin/base.html" %}
 {% load i18n %}
+{% load staticfiles %}
 
 {% block extrahead %}
-    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.js" type="text/javascript"></script>
+    <script src="{% static "js/jquery.js" %}" type="text/javascript"></script>
     {% include 'autocomplete_light/static.html' %}
 {% endblock %}