Related fields docs improvements
|Reported by:||akaariai||Owned by:||technivore|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The docs at https://docs.djangoproject.com/en/dev/ref/models/relations/ say that "In the example above, e.save() is called to perform the update." However, the example above doesn't contain .save() call at all.
In addition it might be worth it to note that all of the methods apply the change to the database instantly.
Still, I don't see a mention of direct association, that is e.entry_set = some_list. This is often the fastest way to update a relationship.
Creating separate patches for these issues might be better than doing them all in one go.
Change History (8)
comment:4 Changed 21 months ago by technivore
- Owner changed from nobody to technivore
- Status changed from new to assigned
comment:6 Changed 21 months ago by technivore
- Cc matthew@… added
- Resolution set to fixed
- Status changed from assigned to closed
comment:7 Changed 21 months ago by aaugustin
- Has patch set
- Resolution fixed deleted
- Status changed from closed to new