{% extends "admin/dj_cache_panel/base.html" %} {% load i18n admin_urls static %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if not key_exists %}
{% trans 'Error:' %} {% trans 'This key does not exist in the cache.' %}
{% endif %}

{% trans 'Key Detail' %}

{% if delete_supported and key_exists %}
{% csrf_token %}
{% endif %}

{% trans 'Key Information' %}


{{ key }}
{{ cache_config.BACKEND }}
{% if key_value.type %}
{{ key_value.type }}
{% endif %}

{% trans 'Value' %}


{% csrf_token %}
{% if not key_exists %}

{% trans 'This key does not exist. Cannot edit or delete.' %}

{% elif not edit_supported %}

{% trans 'Editing is not supported for this cache backend.' %}

{% else %}

{% trans 'Modify the value above and click Save to update the cache key.' %}

{% endif %}

{% trans 'Optional: Set expiration time in seconds. Leave empty to use cache default or preserve existing TTL.' %}

{% endblock %}