{% 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 %}

{% trans 'Add New Key' %}

{% trans 'Cache Information' %}


{{ cache_name }}
{{ cache_config.BACKEND }}

{% trans 'Key Details' %}


{% csrf_token %}
{% if not edit_supported %}

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

{% else %}

{% trans 'Enter the name for the new cache key.' %}

{% endif %}
{% if not edit_supported %}

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

{% else %}

{% trans 'Enter the value for the new key. You can use JSON format for complex values (dicts, lists, etc.).' %}

{% endif %}

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

{% endblock %}