Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

load example js correctly with staticfiles

  • Loading branch information...
commit c9d0aa027dfcf9542c197c5dc7f990d8b6e64d9e 1 parent 3ca0071
@peterbe peterbe authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 project/base/templates/example_base.html
View
6 project/base/templates/example_base.html
@@ -21,7 +21,11 @@
</div>
{% block site_js %}
- {{ js('example_js') }}
+ {% compress js %}
+ <script src="{{ static('examples/js/libs/jquery-1.4.4.min.js') }}"></script>
+ <script src="{{ static('examples/js/libs/jquery.cookie.js') }}"></script>
+ <script src="{{ static('examples/js/init.js') }}"></script>
+ {% endcompress %}
{% endblock %}
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.