Date Tags Django

DJANGO: highcharts in admin

Highcharts require jQuery so in your custom template you need 2 lines ( not only charts) because by default in admin there is a jquery by accessible by django.jQuery and var $ = django.jQuery; won't help you.

<script type="text/javascript" src="{{ MEDIA_URL }}site/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}site/js/highcharts.js"></script>

Comments

comments powered by Disqus