Support recursive template extension. - #885
Merged
aaugustin merged 1 commit intoNov 7, 2016
Merged
Conversation
From the [django 1.9 release notes](https://docs.djangoproject.com/en/1.10/releases/1.9/): > - Django template loaders can now extend templates recursively. ... > Django template loaders have been updated to allow recursive template > extending. This change necessitated a new template loader API. The old > load_template() and load_template_sources() methods are now > deprecated. Prior to this patch, when a template is recursively extended the latest template in the template loaders is displayed regardless of the template origin since the proper template can no longer be disambiguated by template_name.
Current coverage is 76.63% (diff: 19.04%)@@ master #885 diff @@
==========================================
Files 30 30
Lines 1635 1648 +13
Methods 0 0
Messages 0 0
Branches 244 245 +1
==========================================
+ Hits 1259 1263 +4
- Misses 302 311 +9
Partials 74 74
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the django 1.9 release
notes:
...
Prior to this patch, when a template is recursively extended the latest
template in the template loaders is displayed regardless of the template
origin since the proper template can no longer be disambiguated by
template_name.