{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} app-django_celeryx model-task change-form{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if can_revoke %} {% endif %} {% if task %}

{% translate 'Task' %}

{{ task.uuid }}
{{ task.name|default:"-" }}
{{ state_badge }}
{% if task.worker %} {{ task.worker }} {% else %}-{% endif %}
{% if task.args or task.kwargs %}

{% translate 'Arguments' %}

{% if task.args %}
{{ task.args }}
{% endif %} {% if task.kwargs %}
{{ task.kwargs }}
{% endif %}
{% endif %}

{% translate 'Timing' %}

{% if received_fmt %}
{{ received_fmt }}
{% endif %} {% if started_fmt %}
{{ started_fmt }}
{% endif %} {% if succeeded_fmt %}
{{ succeeded_fmt }}
{% endif %} {% if failed_fmt %}
{{ failed_fmt }}
{% endif %} {% if task.runtime is not None %}
{{ task.runtime }}s
{% endif %} {% if task.eta %}
{{ task.eta }}
{% endif %} {% if task.expires %}
{{ task.expires }}
{% endif %}
{% if task.result or task.exception %}

{% translate 'Result' %}

{% if task.result %}
{{ task.result }}
{% endif %} {% if task.exception %}
{{ task.exception }}
{% endif %} {% if task.traceback %}
{{ task.traceback }}
{% endif %}
{% endif %} {% if task.exchange or task.routing_key or task.retries %}

{% translate 'Routing' %}

{% if task.exchange %}
{{ task.exchange }}
{% endif %} {% if task.routing_key %}
{{ task.routing_key }}
{% endif %} {% if task.retries %}
{{ task.retries }}
{% endif %}
{% endif %} {% if task.parent_id or task.root_id %}

{% translate 'Related Tasks' %}

{% if task.root_id %}
{{ task.root_id }}
{% endif %} {% if task.parent_id %}
{{ task.parent_id }}
{% endif %}
{% endif %} {% else %}

{% translate 'Task Not Found' %}

{% translate 'No data available for task' %} {{ task_id }}.

{% endif %}
{% translate 'Back' %}
{% endblock %}