#23955: Documentation mentions {{ form.id }} for formsets -------------------------------+----------------------------- Reporter: monuszko | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.7 Severity: Normal | Keywords: formset id form Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+----------------------------- Documentation from 1.4 up to dev mentions a mysterious variable {{ form.id }} for formsets. However, no such thing seems to exist, and it prints an empty string instead. The closest equivalent seems to be {{ form.prefix }}.
https://docs.djangoproject.com/en/1.5/topics/forms/formsets/#manually- rendered-can-delete-and-can-order I stumbled upon this while working on a contact form, and apparently it does seem to print something if the formset is based on a ModelForm. But in such case it's still unclear what {{ form.id }} is supposed to mean. What id is that ? -- Ticket URL: <https://code.djangoproject.com/ticket/23955> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/051.c6afdeb26309479cb2cac2a5964f3371%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.