{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} app-django_cachex model-cache change-list{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% block object-tools %} {% endblock %}
{% block filters %}

{% trans 'Filter' %}

{% trans 'By Support' %}
{% endblock %}
{% block search %}
{% endblock %}
{% csrf_token %} {% block result_list %} {% if caches_info %}
0 of {{ caches_info|length }} selected
{% for cache_info in caches_info %} {% endfor %}
{% trans 'Cache Name' %}
{% trans 'Backend' %}
{% trans 'Location' %}
{% trans 'Support' %}
{% trans 'Actions' %}
{{ cache_info.name }} {{ cache_info.backend }} {% if cache_info.error %}
{{ cache_info.error }} {% endif %}
{{ cache_info.location|default:"-" }} {% if cache_info.support_level == "cachex" %} cachex {% elif cache_info.support_level == "wrapped" %} wrapped {% else %} limited {% endif %} {% trans 'List Keys' %}
{% endif %} {% endblock %} {% block pagination %} {% endblock %}
{% if not has_caches_configured %}

{% trans 'Cache Configuration Required' %}

{% trans 'To use Cache Admin, you must configure caches in your Django settings.' %}

{% trans 'Example configuration:' %}

CACHES = {
    "default": {
        "BACKEND": "django_cachex.cache.ValkeyCache",
        "LOCATION": "valkey://127.0.0.1:6379/0",
    }
}
{% endif %}
{% endblock %}