1👍
✅
This will do I guess:
element._meta.get_field('categories').value_from_object(element)
Source:stackexchange.com
1👍
This will do I guess:
element._meta.get_field('categories').value_from_object(element)