Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks inside If/Else and includes #423

Closed
DaNNaD opened this issue Mar 17, 2015 · 3 comments · Fixed by #1083
Closed

Blocks inside If/Else and includes #423

DaNNaD opened this issue Mar 17, 2015 · 3 comments · Fixed by #1083
Labels

Comments

@DaNNaD
Copy link

DaNNaD commented Mar 17, 2015

As I had to find out through stackexchange blocks ({% block %}) can not be inside a else/if block. This is really confusing -- never did I see anything that is not obeying an if statement -- especially since the documentation does not mention this.

Another problem that I encountered which is (not clearly enough?) documented: if a block is embedded in a file, which is included, for example into base.html, which than is extended by index.html, the index.html can not modify the content of the mentioned block.

@untitaker untitaker added the docs label Mar 29, 2015
@RevengeComing

This comment has been minimized.

@ThiefMaster

This comment has been minimized.

@RevengeComing

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants