{% extends "admin/dj_cache_panel/base.html" %} {% load i18n admin_urls static admin_list %} {% block content %}
| {% trans 'Cache Name' %} | {% trans 'Backend' %} | {% trans 'Query' %} | {% trans 'Get' %} | {% trans 'Edit' %} | {% trans 'Add' %} | {% trans 'Delete' %} | {% trans 'Flush' %} |
|---|---|---|---|---|---|---|---|
| {{ cache_info.name }} |
{{ cache_info.backend_short }}
{% if cache_info.error %}
{{ cache_info.error }} {% endif %} |
{% if cache_info.abilities.query %} ✓ {% else %} — {% endif %} | {% if cache_info.abilities.get_key %} ✓ {% else %} — {% endif %} | {% if cache_info.abilities.edit_key %} ✓ {% else %} — {% endif %} | {% if cache_info.abilities.add_key %} ✓ {% else %} — {% endif %} | {% if cache_info.abilities.delete_key %} ✓ {% else %} — {% endif %} | {% if cache_info.abilities.flush_cache %} ✓ {% else %} — {% endif %} |
{% trans 'Abilities Legend:' %}