Give space in the html template tag
I mean {% extends 'base.html' %}
But if the base is nested inside a directory inside the template directory
pls name the '../base.html' according.
Thanks
Hope it will be help.
On Mon, Oct 10, 2022, 16:11 Namanya Daniel
wrote:
> hello, someone help me out. am n
Make sure the template directory is located in the app directory or if it
is in a different directory, ensure the location is specified at the
template section in the settings.py file
On Mon, Oct 10, 2022 at 3:11 PM Namanya Daniel
wrote:
> hello, someone help me out. am new to django and i face
hello, someone help me out. am new to django and i face an issue with
templates extending base.html
i have created a base.html template which is basically a skeleton for other
templates, they are all in templates/another directory but when i use
{%extends 'base.html'%} I get this error... than
3 matches
Mail list logo