Re: How to filter objects by values of foreign objects in Django admin

No, it does not. I cannot pass any parameters to this function, because it is being invoked automatically by the admin.

class MyAdmin(admin.ModelAdmin):
    list_display = ['num_of_trans']


How can I pass any arguments to it?

Please, read my question carefully.

--
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+unsubscribe@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/5748b53a-d697-40df-a732-4a6d14d742ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.