I want to display the contents of a table called recommendation in the interface Django of the user in the morning of each day because I'm collecting recommendations and saving them in a table (each user have his own recommendations of course ) and I want to delete them after he check them.
So I'm doing this but that is going to display the recommendations directly if I refreshed the page.
HTML interface :
<li class="word-bot-sent"><p>Do you want some recommendations today? </p></li>
{% for obj in Recommendation %}
{% if obj.user == request.user %}
<li class="word-bot-sent"><p>{{ obj.title }}</p></li>
<li class="word-bot-sent"><p>{{ obj.text }}</p></li>
{%endif%}
{% empty %}
{% endfor %}
How can I tackle this?