B
B
Black back2019-12-11 13:06:00
Django
Black back, 2019-12-11 13:06:00

I can't figure out if I can make an html template extension like this on django 2.2?

Is it possible so? help a beginner plz. Can you explain ((
How can this be done?
{% extends 'head.html' %}
{% extends 'log.html' %}
or like this
{% extends 'head.html' %}
{% block content %}
{% endblock %}
{% extends 'log.html' %}
but in such cases an error occurs(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Web Dentist, 2019-12-11
@bekss

{% include 'log.html' %}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question