#27280: can_order/can_delete documentation examples don't require initial data
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
"If one passes initial, it does not matter that s/he should pass the same
initial again."
This is the incorrect point in your understanding that my patch tries to
clarify. I could amend it to say something like "so that the formset can,
among other things, detect which forms were changed..." if it helps to
drive home the point that passing `initial` to the submitted formset is
important. I don't know that it's important to go into an exhaustive
discussion of all the places where `initial` might be used in a submitted
formset, but Marten's comment is correct in pointing out another place
where it's used.
Feel free to suggest an alternate wording if you find the current proposal
unclear.
--
Ticket URL: <https://code.djangoproject.com/ticket/27280#comment:15>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.588a6a976fad5c016d3e239cbea318d2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.