Commits

Eduardo Klein  committed 9c37bd0 Draft

replace STATIC_URL with static templatetag from staticfiles

  • Participants
  • Parent commits 815d2c2

Comments (0)

Files changed (1)

File grappelli_safe/templates/admin/base.html

 
 <!-- JAVASCRIPTS / EXTRAHEAD -->
 {% block javascripts %}
-    <script type="text/javascript" src="{{ STATIC_URL }}mezzanine/js/{{ settings.JQUERY_FILENAME }}"></script>
+    <script type="text/javascript" src="{% static "mezzanine/js/"|add:settings.JQUERY_FILENAME %}"></script>
     <script type="text/javascript">
         // Admin URL
         var ADMIN_URL = "{% get_admin_url %}";