﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24685	EngineHandler doesn't raise exception when duplicate aliases are registered	Preston Timmons	Aymeric Augustin	"The `django.template.utils.EngineHandler` has a check to raise `ImproperlyConfigured` if multiple engines are specified with the same alias:

https://github.com/django/django/blob/master/django/template/utils.py#L72

This won't ever raise an error, though, because configuration is stored in an `OrderedDict`. Duplicate aliases simply overwrite previous ones.

Curtis ran into this problem when using settings like this without the `NAME` option:

{{{
TEMPLATES = [
    {
        'BACKEND': 'knights.django.KnightsTemplater',
        ...
    },
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        ...
    },
]
}}}"	Bug	closed	Template system	1.8	Release blocker	fixed			Ready for checkin	1	0	0	0	0	0
