Closed amnocas closed 6 years ago
You are partially right. On main page, everyone cannot see these buttons. But however if you copy the link(
This section of the tutorial was updated in the meantime and it now displays proper information. Thank you! 🌷
At the section of this tutorial it is mentioned that: "So now we have made sure that only authorized users (ie. us) can add, edit or publish posts. But everyone still gets to view the buttons to add or edit posts. " However I believe that is not true, if you are not authorized you cannot see it because:
{% if user.is_authenticated %} {% else %}
I tried and I do not see those buttons... can you please check that this is the intended behavior?
Best and congratulations this is the best tutorial I've seen on django!
Ana