Open weber-s opened 2 years ago
This PR add the useful has_perm templatetags, similar to django rules.
has_perm
Usage example:
{% has_perm "app.action" request.user object as can_do_action %} {% if can_do_action %} Do stuff {% endif %}
any news on this PR?
This PR add the useful
has_perm
templatetags, similar to django rules.Usage example: