Opened 9 months ago

Last modified 4 weeks ago

#29336 assigned Cleanup/optimization

No docs for circular inheritance

Reported by: Adrian Turjak Owned by: Adrian Turjak
Component: Documentation Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: yes UI/UX: no


Proper support for circular (recursive) inheritance has been possible since was fixed. But we don't have any docs for this, or at least none that appear to be easy to find.

This is a very useful feature. It allows a lot of power and flexibility without the need to create many template overrides.

Before Django properly supported this, most of us used:

The docs from overextends with the basic example as there on that project are what Django needs. A clear explanation and example of what circular inheritance is, how it works, and how to use it.

Change History (2)

comment:1 Changed 9 months ago by Adrian Turjak

Owner: changed from nobody to Adrian Turjak
Status: newassigned
Last edited 4 weeks ago by Tim Graham (previous) (diff)

comment:2 Changed 9 months ago by Carlton Gibson

Has patch: set
Patch needs improvement: set
Triage Stage: UnreviewedAccepted

This would make a good addition to the Overriding Templates How-To.

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