We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation proposes the following example:
{% load admin_list %}{% load i18n %}<p class="paginator">{% if pagination_required %}{% for i in page_range %}{% paginator_number cl i %}{% endfor %}{% endif %}{{ cl.result_count }}{% if cl.result_count == 1 %}{{ cl.opts.verbose_name }} {% else %}{{ cl.opts.verbose_name_plural }} {% endif %}{% if show_all_url %} <a href="{{ show_all_url }}" class="showall">{% translate 'Show all' %} </a> {% endif %}{% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% translate 'Save' %}">{% endif %} </p>
Which should produce:
{% load admin_list %} {% load i18n %} <p class="paginator"> {% if pagination_required %} {% for i in page_range %} {% paginator_number cl i %} {% endfor %} {% endif %} {{ cl.result_count }} {% if cl.result_count == 1 %} {{ cl.opts.verbose_name }} {% else %} {{ cl.opts.verbose_name_plural }} {% endif %} {% if show_all_url %} <a href="{{ show_all_url }}" class="showall"> {% translate 'Show all' %} </a> {% endif %} {% if cl.formset and cl.result_count %} <input type="submit" name="_save" class="default" value="{% translate 'Save' %}" /> {% endif %} </p>
But here produces:
{% load admin_list %} {% load i18n %} <p class="paginator"> {% if pagination_required %} {% for i in page_range %} {% paginator_number cl i %} {% endfor %} {% endif %} {{ cl.result_count }} {% if cl.result_count == 1 %} {{ cl.opts.verbose_name }} {% else %} {{ cl.opts.verbose_name_plural }} {% endif %} {% if show_all_url %} <a href="{{ show_all_url }}" class="showall">{% translate Show all %}</a> {% endif %} {% if cl.formset and cl.result_count %} <input type="submit" name="_save" class="default" value="{% translate Save %}"> {% endif %} </p>
In particular:
/>
Is it intentionnal? I can't find a way to configure this.
Just using the bare minimum configuration:
echo '{% load admin_list %}{% load i18n %}<p class="paginator">{% if pagination_required %}{% for i in page_range %}{% paginator_number cl i %}{% endfor %}{% endif %}{{ cl.result_count }}{% if cl.result_count == 1 %}{{ cl.opts.verbose_name }} {% else %}{{ cl.opts.verbose_name_plural }} {% endif %}{% if show_all_url %} <a href="{{ show_all_url }}" class="showall">{% translate 'Show all' %} </a> {% endif %}{% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% translate 'Save' %}">{% endif %} </p>' | djlint - --reformat
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System Info
Issue
The documentation proposes the following example:
Which should produce:
But here produces:
In particular:
/>
is not enforce on auto-closing tags.Is it intentionnal? I can't find a way to configure this.
How To Reproduce
Just using the bare minimum configuration:
The text was updated successfully, but these errors were encountered: