Django, one more newbie question
Robert Kern
robert.kern at gmail.com
Fri Feb 9 16:22:05 EST 2007
Boris Ozegovic wrote:
> 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, {{? :)
It's the Django templating language:
http://www.djangoproject.com/documentation/templates/
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list