{% extends "admin/dj_redis_panel/base.html" %} {% load i18n admin_urls static %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if success_message %}
{{ success_message }}
{% endif %} {% if error_message %}
{{ error_message }}
{% endif %}

{% trans 'Add New Key' %}


{% if not allow_key_edit %}

{% trans 'Error:' %} {% trans 'Key creation is disabled for this instance.' %}

{% trans 'Back to Key Search' %}

{% else %}

{% trans 'Cache Key Types:' %}

{% trans 'Type' %} {% trans 'Description' %} {% trans 'Use Cases' %}
{% trans 'String' %} {% trans 'Simple text or binary data value' %} {% trans 'Caching, counters, flags, JSON data' %}
{% trans 'List' %} {% trans 'Ordered collection of strings' %} {% trans 'Queues, activity feeds, recent items' %}
{% trans 'Set' %} {% trans 'Unordered collection of unique strings' %} {% trans 'Tags, unique visitors, permissions' %}
{% trans 'Sorted Set' %} {% trans 'Ordered collection of unique strings with scores' %} {% trans 'Leaderboards, rankings, time-series data' %}
{% trans 'Hash' %} {% trans 'Collection of field-value pairs' %} {% trans 'User profiles, settings, object storage' %}

{% trans 'The key will be created with a placeholder item that you can edit or delete. After creation, you will be redirected to the key detail page where you can manage the content.' %}


{% csrf_token %}
{% trans 'The name for your new cache key. Must be unique within this database.' %}

{% trans 'Select the type of cache data structure for this key.' %}
{% endif %}
{% endblock %}