Batch update of M2M fields behaviour
At the moment, if you batch update m2m fields, all model instances in the selection are set to the same set. It's often desirable to simply add a value to all model instances, rather than remove all previously-selected values. Similarly, it may be desirable to remove a value from all model instances.
I suggest that for m2ms, the interface is something like:
Remove these values [list] Add these values [list]
Remove happens before add, so if you wanted to accomplish the effect that currently happens, you'd 'select all' for remove, then add the ones that you want.
Comments (5)
-
repo owner -
repo owner Merged in francofuji2/django-generic (pull request #6)
Better updating of m2m fields Re
#1→ <<cset 6d2974294125>>
-
repo owner Haven't tested yet, assuming patch works...
-
repo owner - changed status to resolved
-
repo owner Better updating of m2m fields re
#1.→ <<cset 66b2a234e99c>>
- Log in to comment
Sounds like a plan :)