* ui_ux: => 0
* easy: => 0
* stage: Design decision needed => Accepted
Comment:
Given Gulopine's comment, I don't see any reason not to treat this as a
bug.
--
Ticket URL: <https://code.djangoproject.com/ticket/7377#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by andrewbadr):
FWIW all you have to do to get the desired behavior is import
django.template.loader anywhere in your program. Magic!
--
Ticket URL: <https://code.djangoproject.com/ticket/7377#comment:14>
* owner: nobody => melinath
* status: reopened => new
Comment:
I've made a pull request which fixes this ticket:
https://github.com/django/django/pull/414. This seems to just have been a
matter of adding the loader tags to builtins at the same time that the
defaulttags and defaultfilters are added. Doing so doesn't cause any new
issues to appear... so unless there's something I'm missing, this should
be good to go.
(I don't have tests, but I can't think of a way to add an automated test
for this.)
--
Ticket URL: <https://code.djangoproject.com/ticket/7377#comment:15>
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/7377#comment:16>
* needs_tests: 0 => 1
Comment:
@melinath: To test this, you can create a python subprocess that executes
some code snippet in which you only import {{{django.template}}}, but not
the loaders. It's also worth checking what happens in that scenario if I
pass a string to {{{extends}}}.
--
Ticket URL: <https://code.djangoproject.com/ticket/7377#comment:17>
* status: assigned => closed
* resolution: => worksforme
Comment:
I don't think that this exists anymore in master.
--
Ticket URL: <https://code.djangoproject.com/ticket/7377#comment:18>