#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 Michael):
Replying to [comment:10 Tim Graham]:
> Michael, did you take a look at my pull request? Does it help?
Pardon, I somehow failed to notice your update for this ticket.
As far as I can see, you added:
{{{
"Whenever processing a formset submission, you should pass the same
``initial``
that you used to populate the formset so that the formset can detect which
forms were changed by the user. For example, you might have something
like:
``ArticleFormSet(request.POST, initial=[...])``.
}}}
I don't like wording. "Whenever processing a formset you should pass the
same "initial"..." This seems to be even more confusing. I meant that
"initial" is not necessary at all. And now in the documentation there will
be a string about transmitting initial data to the formset whenever we use
it.
Well, the ticket has invalid status. Maybe we shouldn't discuss it?
Invalid is invalid.
If you have any suspicion that the ticket is somehow valid, maybe the
status should be changed? Let other people suggest something.
--
Ticket URL: <https://code.djangoproject.com/ticket/27280#comment:11>
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.62302b0a43fe87e662011173eb7c5599%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.