{# templates/admin_tools/statistics_summary.html #}
{% extends "template_base.html" %}
{% block title %}Quick Statistics{% endblock %}
{% block content %}
{% load humanize %}
Quick Statistics
API Calls in the last 30 days.
{% if ctcl_daily_summary_list %}
CTCL API Calls
| Date |
# of Calls |
{% for ctcl_daily_summary in ctcl_daily_summary_list %}
| {{ ctcl_daily_summary.date_string }} |
{{ ctcl_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% if ballotpedia_daily_summary_list %}
Ballotpedia API Calls
| Date |
# of Calls |
{% for ballotpedia_daily_summary in ballotpedia_daily_summary_list %}
| {{ ballotpedia_daily_summary.date_string }} |
{{ ballotpedia_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% if google_civic_daily_summary_list %}
Google API Calls
We need to track the number of calls to the Google Civic API because there are limits to
the number of calls we can make per day. This also gives us a glimpse into new network activity.
| Date |
# of Calls |
{% for google_civic_daily_summary in google_civic_daily_summary_list %}
| {{ google_civic_daily_summary.date_string }} |
{{ google_civic_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% if vote_smart_daily_summary_list %}
Vote Smart API Calls
| Date |
# of Calls |
{% for vote_smart_daily_summary in vote_smart_daily_summary_list %}
| {{ vote_smart_daily_summary.date_string }} |
{{ vote_smart_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% if vote_usa_daily_summary_list %}
Vote USA API Calls
| Date |
# of Calls |
{% for vote_usa_daily_summary in vote_usa_daily_summary_list %}
| {{ vote_usa_daily_summary.date_string }} |
{{ vote_usa_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% if sendgrid_daily_summary_list %}
SendGrid API Calls
| Date |
# of Calls |
{% for sendgrid_daily_summary in sendgrid_daily_summary_list %}
| {{ sendgrid_daily_summary.date_string }} |
{{ sendgrid_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% if targetsmart_daily_summary_list %}
TargetSmart API Calls
| Date |
# of Calls |
{% for targetsmart_daily_summary in targetsmart_daily_summary_list %}
| {{ targetsmart_daily_summary.date_string }} |
{{ targetsmart_daily_summary.count|intcomma }} |
{% endfor %}
{% endif %}
{% endblock %}