I am trying to incorporate a django application into a web site where static html accounts for the majority. The directory structure is as follows.
root/
├ var/
│ └ www/
│ ├ html/
│ ├ static
│ │ ├style.css
│ │ ├base.js
│ │
│ ├ web/
│ ├head.html
│ ├footer.html
│ ├base.html
│
└ opt/
└ django/
├ project/
│
├ apps/
├ ├ views.py
├ template/
├ index.html
I want to make /opt/django/template/index.html
read html in /var/www/html/web/
.
I do not know how to include.
{% include "/var/www/html/web/head.html" %}
was useless.
I do not want to change the directory structure.