I make a module system. There are a main module, which load main template and other modules.
Main template contain some blocks, like:
{% block static %}
{% endblock %}
{% block poll %}
{% endblock %}
Each module (static, poll) must load subtemplate work out and replace the appropriate block in main template.
I cant make it with inheritance.
If there any method that allow load subtemplate and set the block content in main module?