For the record, I modified a little bit my object but the key was in
precising a lot |dictsort like the following case :
{# -- Compétences techniques -- #}
{% if user_techskill %}
<p>Compétences techniques :</p>
{% for tskill in user_techskill %}
{% regroup tskill.name.all|dictsort:"domain.id" by domain as
grouped %}
<ul>
{% for group in grouped %}
<li> {{ group.grouper }} :
{% for item in group.list %}
{{ item.name }},
{% endfor %}
</li>
{% endfor %}
</ul>
{% endfor %}
{% endif %}
Regards,
Nicolas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---