1
0
Fork 0

Sort children list in an item page

This commit is contained in:
Mateusz Piotrowski 2017-10-02 21:41:36 +02:00 committed by Piotr Dobrowolski
parent 3853bd6a6a
commit 4ce656c836
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@
<h3>Children</h3>
<table class="table table-striped table-hover">
{% for child in children %}
{% for child in children|dictsort:"name" %}
<tr><td><a href="{{ child.get_absolute_url }}">{{ child.name }}</a></td></tr>
{% empty %}
<tr><td colspan=2>No children</td></tr>