I can get the document pk with :
Code: Select all
{{ document.pk }}
Regards,
Guillaume
Code: Select all
{{ document.pk }}
Code: Select all
{% for tag in workflow_instance.document.tags.all %}{% if tag.label == "transition" %}True{% endif %}{% endfor %}
Code: Select all
{% if document.versions.count >= 2 %}Documents with more than one version{% endif %} {% if document.files.count >= 2 %}Documents with more than one file{% endif %}