Opened 18 years ago
Closed 18 years ago
#2648 closed enhancement (duplicate)
Bi-directional edits of ManyToMany fields in admin
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In certain situations, it makes sense to be able to edit a ManyToMany relation in both of the datatypes' admin pages. I propose adding an extra keyword argument to ManyToManyField that makes it appear as though both of the datatypes has the manytomany relation.
Use case:
In my case, I have a bunch of categories and a bunch of items. Items can be in any number of categories and a category can contain any number of items.
If I'm creating a new item and already know that it belongs in categories a, b, and c, I should not have to open each of those categories to add the item to them.
On the other hand, I might be creating a new category and know that items x, y, and z belongs in it, I shouldn't need to open each of x, y, and z to add them to the categories.
With the current limitations, I can only have one of the above.
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Identical to http://code.djangoproject.com/ticket/897 ? I would really like this too.
comment:3 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Yes I would say so. Closing as duplicate of #897.
I'd really like to see this implemented as well.