Opened 12 years ago
Closed 12 years ago
#21088 closed Cleanup/optimization (invalid)
Misleading doc for overriding model save method.
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.5 |
| Severity: | Normal | Keywords: | model, documentation |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Documentation does not make it clear than overriding a model's save method should return the model object.
Note:
See TracTickets
for help on using tickets.
It doesn't need to do that. The Model.save() doesn't return anything.