{% extends 'babyblotter/page.html' %}

{% block javascript %}
    <script src="https://cdn.plot.ly/plotly-latest.js"></script>
{% endblock %}
{% extends 'babyblotter/page.html' %}
{% load static %}

{% block javascript %}
    {% if debug %}
        <script src="{% static "babyblotter/js/graph.js" %}"></script>
    {% else %}
        <script src="{% static "babyblotter/js/graph.min.js" %}"></script>
    {% endif %}
{% endblock %}
Use local graph assets instead of Plotly CDN.
Use local graph assets instead of Plotly CDN.
