Django, one more newbie question
Boris Ozegovic
silovana.vjeverica at com.gmail
Fri Feb 9 16:09:38 EST 2007
Umm, can somebody tell me which language is this one:
{% if latest_poll_list %}
<ul>
{% for poll in latest_poll_list %}
<li>{{ poll.question }}</li>
{% endfor %}
</ul>
{% else %}
<p>No polls are available.</p>
{% endif %}
Whole tutorial is on this page:
http://www.djangoproject.com/documentation/tutorial3/
endfor, endif, {{? :)
--
http://www.nacional.hr/articles/view/23894/23
More information about the Python-list
mailing list