Re: Django, one more newbie question

2007-02-20 Thread Piet van Oostrum
 Boris Ozegovic [EMAIL PROTECTED] (BO) wrote:

BO Umm, can somebody tell me which language is this one:
BO {% if latest_poll_list %}
BO ul
BO {% for poll in latest_poll_list %}
BO li{{ poll.question }}/li
BO {% endfor %}
BO /ul
BO {% else %}
BO pNo polls are available./p
BO {% endif %}

BO Whole tutorial is on this page:
BO http://www.djangoproject.com/documentation/tutorial3/
 
BO endfor, endif, {{?  :)

It is the Django template language.
-- 
Piet van Oostrum [EMAIL PROTECTED]
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Django, one more newbie question

2007-02-19 Thread Stefan Scholl
Boris Ozegovic [EMAIL PROTECTED] wrote:
 Umm, can somebody tell me which language is this one:

pNo polls are available./p

English?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Django, one more newbie question

2007-02-09 Thread Robert Kern
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 %}
 pNo 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

-- 
http://mail.python.org/mailman/listinfo/python-list