Hi, Here is my model:
class Application(models.Model): name = models.CharField( _('application name'), maxlength=200, unique=True) group_admin = models.ForeignKey( User, verbose_name=_('administrator'), related_name="group_admin", editable=False, blank=True, null=True) admin = models.ManyToManyField( User, verbose_name=_('authors'), filter_interface=models.HORIZONTAL, blank=True, null=True) class Meta: verbose_name = _('application') verbose_name_plural = _('applications') ordering = ['name'] class Admin: list_filter = ['group_admin','admin'] In the admin list of Applications, all the existing users appears under 'administrator' and 'authors' list filters. Question: is here a way to show only the users who are effective administratrors (set as group_admin for at least on app) or authors (in others word: filter options which will give non-empty result) ? Olive --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---