Opened 19 years ago
Last modified 3 weeks ago
#897 new New feature
Bi-Directional ManyToMany — at Initial Version
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | Normal | Keywords: | |
Cc: | kmike84@…, carsten.fuchs@…, cmawebsite@…, mmitar@…, Hugo Osvaldo Barrera, Emmanuel Katchy | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Allow amnytomany relationships to be defined both ways
E.G
class ItemType(meta.Model):
name = meta.CharField(maxlength=100)
descritpion = meta.CharField(maxlength=250)
class PropertyType(meta.Model):
name = meta.CharField(maxlength=100)
itemtypes = meta.ManyToManyField(ItemType)
Excellent. When I make a new property type in the admin screens I get a
mutiselect window for item types.
What I want to be able to do however is have this work back the other
way too so that whe I create a new item i can specify what property
types apply.
Thanks