K
K
kelevra14932016-05-17 15:49:18
Django
kelevra1493, 2016-05-17 15:49:18

Blocks in Django templates not displaying text?

Good afternoon, dear connoisseurs and experts. The question is asked by the student of programming.
I'm doing a video tutorial. I registered everything as there, but does not display the text in the template through blocks. I open the page, and the container block is empty. What could be the problem? I am attaching screenshots. I've been suffering for a while now.
home.html
uprEV.jpg
base.html
nxJFJ.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2016-05-17
@kelevra1493

You have home.html and base.html in the same directory
1. Specify {% extends 'base.html' %}in home.html
2. Are you rendering home.html ? So?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question