Of course it's listing the same clients, you looked up the full list, instead of, say, using the relations to category to get only those clients which belong to that category :)
If a client has an fkey to category, then you need to be doing something like {% for client in category.client_set.all %}, using the reverse relation :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---