I'm trying to create base.html to extend it from my apps.
My structure:
ROOT(pyshop)
- polls
- templates
- polls
- index.html (contains {% extends "base.html" %})
- polls
- templates
- pyshop
- templates
- base.html
- templates
But it can't find base.html
Template-loader postmortem
Django tried loading these templates, in this order:
Using engine django: django.template.loaders.app_directories.Loader: /home/sz/Projects/pyshop/polls/templates/pyshop/base.html (Source does not exist) django.template.loaders.app_directories.Loader: /home/sz/Projects/pyshop/venv/lib/python3.5/site-packages/django/contrib/admin/templates/pyshop/base.html (Source does not exist) django.template.loaders.app_directories.Loader: /home/sz/Projects/pyshop/venv/lib/python3.5/site-packages/django/contrib/auth/templates/pyshop/base.html (Source does not exist)
Any suggestions?