{% extends "base.html" %}
{% load check_links humanize i18n translations %}
{% block breadcrumbs %}
{% translate "Manage" %}
{% translate "Performance report" %}
{% endblock breadcrumbs %}
{% block content %}
{% if errors %}
{% documentation_icon 'admin/install' 'production' right=True %}
{% translate "Configuration errors" %}
{% translate "Last occurrence" %} |
{% translate "Name" %} |
{% translate "Message" %} |
|
{% for error in errors %}
{{ error.timestamp }} |
{{ error.name }}
{% configuration_error_link error.name %}
|
{{ error.message }}
|
|
{% endfor %}
{% endif %}
{% if checks %}
{% documentation_icon 'admin/install' 'production' right=True %}
{% translate "System checks" %}
{% translate "Name" %} |
{% translate "Message" %} |
{% for check in checks %}
{{ check.id }}
{% check_link check %}
|
{{ check.msg }} |
{% endfor %}
{% endif %}
{% if not checks and not errors %}
{% translate "Congratulations, your setup seems to work." as msg %}
{% show_message "success" msg %}
{% endif %}
{% documentation_icon 'admin/install' 'celery' right=True %}
{% translate "Celery queues" %}
{% for name, length in queues %}
{{ name }} |
{{ length|intcomma }} |
{% endfor %}
{% documentation_icon 'admin/install' 'production-encoding' right=True %}
{% translate "System encoding" %}
|
{% translate "Web server" %} |
{% translate "Celery worker" %} |
{% translate "Filenames encoding" %} |
{{ web_encoding.0 }} |
{% if celery_encoding %}
{{ celery_encoding.0 }}
{% else %}
{% translate "Unknown encoding" %}
{% endif %}
|
{% translate "Content encoding" %} |
{{ web_encoding.1 }} |
{% if celery_encoding %}
{{ celery_encoding.1 }}
{% else %}
{% translate "Unknown encoding" %}
{% endif %}
|
{% documentation_icon 'admin/install' 'production-database' right=True %}
{% translate "Connectivity" %}
{% translate "Database latency" %} |
{{ database_latency }} ms |
{% translate "Cache latency" %} |
{{ cache_latency }} ms |
{% translate "Celery latency" %} |
{% if celery_latency %}
{{ celery_latency }} ms
{% else %}
{% translate "Not yet measured" %}
{% endif %}
|
{% endblock content %}