Replace unneeded length filter

I asked the question about using the `length` filter in https://github.com/wagtail/wagtail/discussions/7598 and I'm thinking it may not be needed anymore with the current version of Django that Wagtail supports.
pull/7605/head
Fab 2021-10-13 21:03:37 +01:00 zatwierdzone przez Matt Westcott
rodzic 5a65cb7554
commit 77913bc220
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -731,7 +731,7 @@ you need to create a template `blog/blog_tag_index_page.html`:
{% block content %}
{% if request.GET.tag|length %}
{% if request.GET.tag %}
<h4>Showing pages tagged "{{ request.GET.tag }}"</h4>
{% endif %}