django.template.backends.django.Template

Here are the examples of the python api django.template.backends.django.Template taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : test_django_injector.py
with BSD 2-Clause "Simplified" License
from blubber

def context_processor_view(request):
    backend = engines.all()[0]
    template = Template('{{ string }} {{ number }}')
    return TemplateResponse(
        request=request,
        template=DjangoTemplate(template, backend),
    )


class View(GenericView):