I am developing a Django website where I can create groups, where permissions can be assigned. I can also assign groups to users. There is a simple way to check if a user has a permission:
user.has_perm('app_name.permission_code_name')
What I want to know is if there is a simple way to check if a specific group has a permission (without involving the user at all)?