Opened 11 years ago

Closed 11 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.

Change History (1)

comment:1 by Anssi Kääriäinen, 11 years ago

Resolution: invalid
Status: newclosed

It doesn't need to do that. The Model.save() doesn't return anything.

Note: See TracTickets for help on using tickets.
Back to Top