hi i am trying to build flat pages in django here i would like to override the
base html
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<div id="main">
{% block container %}
{% block content %}{% endblock content %}
{% endblock container %}
</div>
</body>
</html>
here i would like to override the block content, so instead of inheriting the base template then overriding blockcontent and use data from context like
newstatic.html
{% extends "base.html" %}
{% block content %}
{{body}}
{% endblock %}
is there any way to override the block directly from view itself ??