Opened 2 years ago

Closed 2 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 Changed 2 years ago by akaariai

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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