I would like to hide the buttons on my system that allow you to: add, edit and delete the data in my templates for users who are not logged into the system. It can be viewed here: link
After some queries, I saw that it can be done this way:
{% if request.user.is_authenticated %}
...
<button>...</button>
...
{% else %}
...
{% endif %}
However, several conditions will be added to the templates ... would you have some more elegant way of doing this?