Search by foreign key id in admin December 31, 2023 by Tarik as with the other admin options, you need to use __ for foreign keys e.g. search_fields = ['id', 'transaction__id']