H
H
hheellpp2018-09-19 11:04:08
Django
hheellpp, 2018-09-19 11:04:08

Writes an error in the condition, how can I fix it?

{% for it in ill %}
                          {% if it.id %2 != 0 %}
                    <a href="%7B%7B%20it.get_absolute_url%20%7D%7D">{{ it.name }}</a>
                          {% endif %}
                      {% endfor %}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question