-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a failing test for using include within a block fragment
This does not render the include block when used as a fragment, causing the test to fail. I don't know if this is expected behaviour.
- Loading branch information
1 parent
ab5c6a3
commit 74162b9
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "fragment-base.html" %} | ||
|
||
{% block body %} | ||
{% include "included.html" %} | ||
{% endblock %} | ||
|
||
{% block other_body %} | ||
<p>Don't render me.</p> | ||
{% endblock %} |
This file contains 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