#27359: Make it possible to specify a default template engine
     Reporter:  Artur Barseghyan  |      Owner:  nobody
         Type:  New feature       |     Status:  new
    Component:  Template system   |    Version:  1.10
     Severity:  Normal            |   Keywords:  template engines
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
 This is my first django ticket here. Please, forgive for possible

 I want to be able to use a custom template engine (same DjangoTemplates,
 but with different settings). Multiple template engines seems to be a
 great feature, but it becomes not that usable with big projects that
 depend on third party packages (such as django-cms, wagtail, etc) - you
 have to tell each view/render to use the default engine, otherwise you get
 "Several DjangoTemplates backends are configured. You must select one
 explicitly." `ImproperlyConfigured` exception.

 It would be really useful if it would be possible to mark one of the
 template engines as default and choose alternative engine where desired.

 Changes to :meth:`django.template.engine.get_default` and engine
 configuration (`TEMPLATES` setting) would be really trivial. I could make
 a patch if approved.

 Thank you (in any case)!

Ticket URL: <https://code.djangoproject.com/ticket/27359>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to