Changes between Initial Version and Version 1 of Ticket #17199, comment 2
- Timestamp:
- Nov 11, 2011, 10:06:44 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17199, comment 2
initial v1 1 I'm now not sure if template loaders should return the tempalte and the origin, or the template and the display_name. I guess they should return the origin instead, as it has more information... as BaseLoader returns display_name, but seemingly, cached template loader returns origin... My patch returns display_name (from origin.name).1 I'm now not sure if template loaders should return the tempalte and the origin, or the template and the display_name. I guess they should return the origin instead, as it has more information... My doubt rises from the fact BaseLoader returns display_name, but seemingly, cached template loader returns origin when it fails... My patch returns display_name (from origin.name).