Articles → DJANGO → Block.Super Tag In Templates In Django

Block.Super Tag In Templates In Django



	<title>this is the test title</title>

	<h1>Title of the page</h1>
	<div id="container"> {% block content%} This is the test content
		<br /> {% endblock content%} </div>


{% extends "base.html" %}
{% block content%}
    {{ block.super}}
    This is the home page
{% endblock content%}

Picture showing the Home screen
Click to Enlarge

Picture showing the About screen
Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Wednesday, June 19, 2019


Your Email Id  
Query/FeedbackCharacters remaining 250