Я определил содержимое блока в base.html и экстенты в index.html, содержимое блока не работает
в template/app/index.html
{% extends 'base.html' %}
{% block content %}
replace me
{% endblock %}
в template/app/base.html
<!doctype html>
<html>
<head>
<title>Base title</title>
</head>
<body>
{% block content %}
{% endblock %}
</body>
</html>
в app/urls.py
from django.urls import path
from app import views
urlpatterns = [
path('',views.index)
]
в app/views.py
from django.shortcuts import render
# Create your views here.
def index(request):
return render(request,'app/base.html',{})
это код...!
я пробовал менять расположение папки и уровень папки