I would like to search in admin panel for users that are not in django's database. They are accessed through LDAP, only uid's are in database. Other data are accessed through properties, for example:
@property def full_name(self): return unicode(_ldap.search_s("ou=People,ou=Main,o=company", ldap.SCOPE_ONELEVEL, "uidNumber=%s" % self.uidNumber, ["cn"])[0][1]["cn"][0], "utf-8") And of course it's not possible because only real fields are allowed in "search_fields". I found some advices here: http://stackoverflow.com/questions/6752388/django-customize-adminmodel-view and here: http://stackoverflow.com/questions/3729023/django-admin-search-fields-with-model-property But - to be honest - i don't know where to start. Could you point me to some documentation or even solution? TIA. -- <:> Roger, MoonWolf Out <:>|My lifestyle determines my deathstyle (::) (::)| (:) JID:moonw...@jabberpl.org(:)| http://karakkhaz.prv.pl -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1512168.N8oRUYIozV%40it-ma-trendota.tech.sp. For more options, visit https://groups.google.com/d/optout.