Home »
MCQs »
Flask MCQs
To render the contents of a block defined in the parent template, which of the following function is used?
28. To render the contents of a block defined in the parent template, which of the following function is used?
- {{ super() }}
- {{ parent }}
- Super {}
- {Body()}
Answer: A) {{ super() }}
Explanation:
To render the contents of a block defined in the parent template, use {{ super() }}.