Authentication in Template Django.How

Author avatar wrote on 07/06/2022

If user type


        {% if user.profile.user_type == 'SU' or user.profile.user_type == 'AD' %}
        
        {% endif %}
  

If owner


        {% if profile.user == request.user %}
    
        {% endif %}
    


If user type with no authorizaztion sign

If user type / not authorized

We stand with Ukraine