In my django template I have
{% if object_not_readonly and user_is_worker or user_is_admin %}
Django doc tell me
Use of both and and or clauses within the same tag is allowed, with and having higher precedence than or
I think this is not obvious way to declare logical precedence in IF clause.
Question is:
Is it something like {% if object_not_readonly and ( user_is_worker or user_is_admin ) %} condition in django template language, with obvious clause like if A and (C or B) and (not Z)?