trombi: update people ordering

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia 2017-07-05 21:13:10 +02:00
parent 282d9cd180
commit a108291422
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<a href="#">Export</a>
<hr>
<div>
{% for u in object.users.all() %}
{% for u in object.users.order_by('user__nick_name') %}
<div class="ib" style="border: solid 1px grey; text-align: center">
{% set file = None %}
{% if u.profile_pict %}

View File

@ -24,7 +24,7 @@
<hr>
{% endif %}
<div>
{% for u in user.trombi_user.trombi.users.exclude(id=user.trombi_user.id) %}
{% for u in user.trombi_user.trombi.users.exclude(id=user.trombi_user.id).order_by('user__nick_name') %}
<div class="ib" style="border: solid 1px grey; text-align: center">
{% set file = None %}
{% if u.profile_pict %}