#15102: find_template returns compiled Template object instead of template
source
---------------------------------------------+------------------------------
Reporter: vmanchev | Owner: vmanchev
Status: assigned | Milestone:
Component: Template system | Version: 1.2
Resolution: | Keywords: find_template
template source
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by ramiro):
* stage: Unreviewed => Design decision needed
Comment:
Before r11862 there was no `find_template` function or method and the
`find_template_source` function entered a deprecation path so there was no
unintended backward incompatible change but a explicit decision to not
provide a way to access to the source code of the template.
There may be a case for a reviving an API to be able to do that. But would
it be better to introduce it as a parallel API? (maybe reintroducing
`find_template_source`?) instead of modifying the `find_template`
signature?
--
Ticket URL: <http://code.djangoproject.com/ticket/15102#comment:3>
Django <http://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.