Samuel Adam a écrit :
> I have had similar issues while sorting with foreignkeys, try
> specifying the sort like this :
>
> {% regroup techskill.name.all|dictsort:"domain.id" by
> domain as grouped %}
Right ! You already told me about this a long long time ago. I just forgot.
Thanks samuel ! :)
I have had similar issues while sorting with foreignkeys, try
specifying the sort like this :
{% regroup techskill.name.all|dictsort:"domain.id" by
domain as grouped %}
On Sep 11, 11:04 am, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Below my model with which I have an issue :
>
>
Hello,
Below my model with which I have an issue :
"""
Technicat skills
"""
class DomainTechSkill(models.Model):
name = models.CharField('Domaine de compétence technique',
Maxlength=100, core=True)
class Techskill(models.Model):
who = models.ForeignKey(User, verbose_name='Personne',
3 matches
Mail list logo