{% extends "admin/dj_redis_panel/base.html" %} {% load i18n static dcr_icons %} {% block panel_breadcrumbs %} {{ block.super }} › {{ instance_alias }} › {% trans "Search Keys" %} (db:{{ selected_db }}) › {% trans "Add New Key" %} {% endblock %} {% block panel_content %} {% if success_message %}
{{ success_message }}
{% trans "Error" %}
{{ error_message }}
{{ instance_alias }}::DB{{ selected_db }}
{% trans "Enable ALLOW_KEY_EDIT in your configuration to create new keys." %}
| {% 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." %}
{% endif %} {% endblock %}