{% load partials %} {% partialdef test-partial %} TEST-PARTIAL-CONTENT {% endpartialdef %} {% block main %} BEGINNING {% partial test-partial %} MIDDLE {% partial test-partial %} END {% endblock main %} {% partialdef inline-partial inline=True %} INLINE-CONTENT {% endpartialdef %}