Opened 9 years ago

Closed 2 months ago

Last modified 2 months ago

#26322 closed Cleanup/optimization (fixed)

Rewrite the lazy model reference section of related fields docs

Reported by: Simon Charette Owned by: Clifford Gama
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This is follow up of the lazy operation refactor (#24215) that was initially thought to have introduced a regression in Django 1.9 (#25858) which ended up being a feature (#26186) people relied on since at least Django 1.2.

During the discussion about the behavior of app relative model reference defined on abstract models it was suggested the documentation should be revised to detail how ''recursive'', ''relative'' and ''absolute'' string references work and go on to explain how they work in an abstract context.

Change History (8)

comment:1 by Tim Graham, 9 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Clifford Gama, 3 months ago

Owner: changed from nobody to Clifford Gama
Status: newassigned

comment:3 by Clifford Gama, 2 months ago

Has patch: set

comment:4 by Natalia Bidart, 2 months ago

Patch needs improvement: set

Added some small review comments, PR is looking great!

comment:5 by Clifford Gama, 2 months ago

Patch needs improvement: unset

comment:6 by Natalia Bidart, 2 months ago

Triage Stage: AcceptedReady for checkin

comment:7 by GitHub <noreply@…>, 2 months ago

Resolution: fixed
Status: assignedclosed

In 65f3cfc:

Fixed #26322 -- Consolidated lazy relationships details in docs/ref/models/fields.txt.

Reorganized docs to list and explain the types of lazy relationships
that can be defined in related fields.

Co-authored-by: Natalia <124304+nessita@…>

comment:8 by Natalia <124304+nessita@…>, 2 months ago

In 9a5eae0a:

[5.1.x] Fixed #26322 -- Consolidated lazy relationships details in docs/ref/models/fields.txt.

Reorganized docs to list and explain the types of lazy relationships
that can be defined in related fields.

Co-authored-by: Natalia <124304+nessita@…>

Backport of 65f3cfce59395131f318cf1ecba144530ed6609e from main.

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