instead
{{{
#!div style="font-size: 80%"
Code highlighting:
{{{#!python
default_name = tpl['BACKEND'].rsplit('.', 2)[-2]
}}}
}}}
I have a backend "service.core.jinja2.engine.Jinja2" and current code
returns "'''engine'''" as default_name for this name
--
Ticket URL: <https://code.djangoproject.com/ticket/24666>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
How is your proposal different from setting the
[https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-
TEMPLATES-NAME 'NAME'] option?
--
Ticket URL: <https://code.djangoproject.com/ticket/24666#comment:1>
* status: new => closed
* resolution: => invalid
--
Ticket URL: <https://code.djangoproject.com/ticket/24666#comment:2>