#16965: Formsets can_delete documentation lacking actual use example -------------------------+------------------------------------------------- Reporter: | Owner: nobody gregcorey@… | Status: new Type: Bug | Version: 1.3 Component: | Keywords: can_delete, documentation, formsets Documentation | Has patch: 0 Severity: Normal | UI/UX: 0 Triage Stage: | Unreviewed | Easy pickings: 0 | -------------------------+------------------------------------------------- Formsets can_delete online documentation provides no example of how to utilize this parameter to actually delete a form.
Something along the lines of: {{{ for form in formset.deleted_forms: form.cleaned_data['id'].delete() }}} is all that is needed (if that is indeed the correct way to do it - I don't know because there is no documentation that I could find :) ). Thanks. -- Ticket URL: <https://code.djangoproject.com/ticket/16965> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.