#25139: ModelFormSet: allow swapping unique values
------------------------------+---------------------------------------
     Reporter:  Jon Dufresne  |                    Owner:  Parth Patil
         Type:  New feature   |                   Status:  assigned
    Component:  Forms         |                  Version:  master
     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
------------------------------+---------------------------------------
Changes (by Parth Patil):

 * owner:  nobody => Parth Patil
 * status:  new => assigned


Comment:

 I don't think so this is feasible, this will require n(n-1)/2 comparisons
 to determine whether any two of the models are swapped.
 This looks easy in the above case but won't be a good idea for a general
 case.

 Correct me if I'm wrong or if anyone has a better approach for
 implementation of this feature. I would like to work on it.

 But as of now, I feel this ticket should be closed

-- 
Ticket URL: <https://code.djangoproject.com/ticket/25139#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6172cb46e419c56a12e069c669345516%40djangoproject.com.

Reply via email to