#6659: documentation: forloop not introduced in tutorial 4 -----------------------+---------------------------------------------------- Reporter: pj | Owner: nobody Status: new | Component: Documentation Version: SVN | Keywords: tutorial forloop Stage: Unreviewed | Has_patch: 0 -----------------------+---------------------------------------------------- At the start of "Writing your first Django app, part 4" in the first template code in the section "Write a simple form", I initially wondered where forloop had come from. The documentation text (templates.txt) explains the magic, but a pointer to this seems a good idea.
So, in the quick rundown list that follows the template, I suggest you add: * The forloop.counter is an automatic index associated with the for loop that starts at 1. For more information on <whateverformat>forloop</format> variables, see the <whateverlink>forloop</link> documentation. -- Ticket URL: <http://code.djangoproject.com/ticket/6659> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
