How can i include my template from the static folder in django
Make sure that the folder is included in the TEMPLATE_DIRS setting (in settings.py).
I have the djnago app structure like
myproject/myapp
myproject/myapp/static/site/app/index.html
I want to include that template in my file like this
url(r'^public$', TemplateView.as_view(template_name="/static/site/app/index.html")),
but it says template not found