SyntaxFix
Write A Post
Hire A Developer
Questions
If a user belongs to a certain group or not, can be checked in django templates using:
{% if group in request.user.groups.all %} "some action" {% endif %}
{% if group in request.user.groups.all %}
"some action"
{% endif %}