mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates engine if multiple are defined.
This commit is contained in:
committed by
Tim Graham
parent
7019724101
commit
6b3724fa11
@@ -191,7 +191,9 @@ Signals
|
||||
Templates
|
||||
~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* To increase the usefulness of :meth:`.Engine.get_default` in third-party
|
||||
apps, it now returns the first engine if multiple ``DjangoTemplates`` engines
|
||||
are configured in ``TEMPLATES`` rather than raising ``ImproperlyConfigured``.
|
||||
|
||||
Tests
|
||||
~~~~~
|
||||
|
||||
Reference in New Issue
Block a user