2👍
✅
Not sure if you can do it directly in the template though you can try iterating over user.groups.all()
👤T I
Source:stackexchange.com