Hi thank you for helping, I\'m poor in coding.
To point: I\'m doing a Django project that pass data form data-base to front-end; but right now i can\'t even pass an
You can try something like this
views.py
from django.template.response import TemplateResponse
def testdex(requset, template_name="myapp/inculdes.html"):
args = {}
text = "hello world"
args['mytext'] = text
return TemplateResponse(request, template_name, args)
inculdes.html
{% extends "myapp/index.html" %}
{% block includes %}
{{ mytext }}
{% endblock includes %}
And make sure you have set path for templates in settings.py