{% extends 'dmcadmin/index.html' %} {% block content_header %}

Manage command

{% endblock %} {% block content_boxes %} {% endblock %} {% block content_main %}
{% if running_task %}
The command is launched: {{ running_task }}
Detail
{% endif %} {% if error_running_command %} Run error: {{ error_running_command }} {% endif %}

Manage command to run

{% for field in form %}
{{ field.label_tag }} {{ field }} {# {% if field.name == 'import_file' %}#} {# {{ field.label_tag }}#} {#
#} {#
#} {# {{ field }}#} {# #} {#
#} {#
#} {# {% else %}#} {# {{ field.label_tag }}#} {# {{ field }}#} {# {% endif %}#}
{% endfor %}
{% csrf_token %}
{% include 'dmcadmin/manage_task_list.html' %}

List of available manage commands

Add command {% for app_name, cls_commands in manage_commands.items %} {% for cls_name, commands in cls_commands.items %} {% for manage_command in commands %} {% endfor %} {% endfor %} {% endfor %}
App Class Manage command name args kwargs Import file template Description
{{ app_name }} {{ cls_name }} {{ manage_command.manage_command_name }} {{ manage_command.manage_command_args }} {{ manage_command.manage_command_kwargs }} {% if manage_command.template_media_path %} {{ manage_command.template_media_path }} {% endif %} {{ manage_command.description }} Select
{% endblock %}