#17199: Base Template Loader should return the origin
---------------------------------+--------------------------------------
Reporter: Kronuz | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Kronuz):
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).
--
Ticket URL: <https://code.djangoproject.com/ticket/17199#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.