Reputation: 185
I am trying to get filter_horizontal to work with xadmin, but for some reason it does not work if I just type in:
filter_horizontal
xadmin
filter_horizontal = ('someField',)
Upvotes: 2
Views: 281
Well like always! Right after posting my question I ACTUALLY start reading the source code of xadmin and see that all you have to do it the following :
style_fields = {'someField': 'm2m_transfer'}
Upvotes: 4