Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#28891 closed Cleanup/optimization (fixed)

Document Origin's `loader` attribute

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

Description

This can cause an issue if you write a custom template loader that does not set loader when creating an Origin(), as e.g. the cached loader requires a loader parameter in order for its origin.loader.get_contents(origin) line to function.

Change History (4)

comment:1 by Tim Graham, 6 years ago

Summary: Origin's `loader` argument is not documentedDocument Origin's `loader` attribute
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

The attribute was added in fc2147152637e21bc73f991b50fa06254af02739.

comment:2 by Tim Graham, 6 years ago

comment:3 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: newclosed

In 16bd4964:

Fixed #28891 -- Documented Origin's loader attribute.

comment:4 by Tim Graham <timograham@…>, 6 years ago

In 6dea1b18:

[2.0.x] Fixed #28891 -- Documented Origin's loader attribute.

Backport of 16bd4964dfd75759cb3ec0c786e1b5dcc8296fd9 from master

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