Answer the question
In order to leave comments, you need to log in
How to retrieve an element from the database without using a loop?
How to retrieve an element from the database without using a loop?
I used loop in html code:
{% for post in posts %}
<h4 class="rheading">Категория <i class="icon-angle-right">{{ post.category }}</i><span></span></h4>
{% endfor%}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question