I have this templates structure:
dir1:
base.html
dir2: template.html
template.html must extend base.html:
{% extends '../dir1/base.html' %}
But it raises error:
Caught TemplateDoesNotExist while rendering: ../dir1/base.html
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should set template dir (https://docs.djangoproject.com/en/dev/ref/settings/#template-dirs) in settings.py and then use
{% extends 'dir/base.html' %}.