#35843: Changing the rendering order of formsets is not clear
--------------------------------------+------------------------------------
     Reporter:  Matthew Pava          |                    Owner:  (none)
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Forms                 |                  Version:  5.1
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Comment (by Natalia Bidart):

 I also think that keeping the sentence helps since I wouldn't have
 considered overriding `__iter__` to control the formset ordering. I agree
 with Clifford that we should say something along the line "this is really
 implementing the methods that define an object as an iterable". For
 example pointing to https://docs.python.org/3/glossary.html#term-iterable,
 but please note that formsets provide an iterable API (which is slightly
 different from an iterator API: the former implement `__iter__` and
 `__getitem__`, and the latter `__iter__` and `__next__`).
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35843#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701929568a0ea-6305eee1-ab37-4a22-9589-dfa152127fb3-000000%40eu-central-1.amazonses.com.

Reply via email to