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',
...
},
]
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24685>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* severity: Normal => Release blocker
* needs_tests: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/24685#comment:1>
* status: new => assigned
* owner: nobody => aaugustin
Comment:
How embarrassing.
--
Ticket URL: <https://code.djangoproject.com/ticket/24685#comment:2>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/24685#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/24685#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"1563b897c439370fe98e7902004cdcefc9ea5ceb" 1563b89]:
{{{
#!CommitTicketReference repository=""
revision="1563b897c439370fe98e7902004cdcefc9ea5ceb"
Fixed #24685 -- Fixed check for template name unicity.
Thanks Preston Timmons for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24685#comment:5>
Comment (by Aymeric Augustin <aymeric.augustin@…>):
In [changeset:"1f0a6082ec42db09a0c2ead3227150b833a73168" 1f0a6082]:
{{{
#!CommitTicketReference repository=""
revision="1f0a6082ec42db09a0c2ead3227150b833a73168"
[1.8.x] Fixed #24685 -- Fixed check for template name unicity.
Thanks Preston Timmons for the report.
Backport of 1563b89 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24685#comment:6>