#27280: can_order/can_delete documentation examples don't require initial data
-------------------------------------+-------------------------------------
     Reporter:  Kifsif               |                    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 Kifsif):

 Replying to [comment:3 Tim Graham]:
 > Without initial data, the formset will output 1 empty form which isn't
 very useful for giving examples of ordering and deleting.


 In this case how can a formset with data for 3 forms produce one empty
 form?
 In the initial we have meat for 2 forms. And how can it fill the third
 one?

 I have modelled the situation:
 
https://bitbucket.org/Kifsif/formsets/commits/f5e05aa61bcfe4be776bd1acc436589d27c78d29

 I can't see that it produces an empty form?

 I think that in vain you closed the ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/27280#comment:4>
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.276bfda37ce39c2d2c79f72fd142b932%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to