mirror of https://github.com/snachodog/mybuddy.git
Use local graph assets instead of Plotly CDN.
This commit is contained in:
parent
bc13ab09e8
commit
e4a92e0614
|
@ -1,5 +1,10 @@
|
|||
{% extends 'babyblotter/page.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block javascript %}
|
||||
<script src="https://cdn.plot.ly/plotly-latest.js"></script>
|
||||
{% if debug %}
|
||||
<script src="{% static "babyblotter/js/graph.js" %}"></script>
|
||||
{% else %}
|
||||
<script src="{% static "babyblotter/js/graph.min.js" %}"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue