Opened 6 days ago

Closed 4 days ago

Last modified 4 days 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 Changed 6 days ago by Tim Graham

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 Changed 5 days ago by Tim Graham

comment:3 Changed 4 days ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 16bd4964:

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

comment:4 Changed 4 days ago by Tim Graham <timograham@…>

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