Re: making TemplateView.template_name point to a file NOT in the templates directory.

2021-05-21 Thread Sharif Mehedi
Hi Adam, Thank you for taking your time to reply on this. I thought that this problem was really too complicated. And at the time of desperation thought that it was a good idea to ask it in here since people here are more experienced with django internals, even though I knew it was the wrong

Re: making TemplateView.template_name point to a file NOT in the templates directory.

2021-05-21 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely

making TemplateView.template_name point to a file NOT in the templates directory.

2021-05-20 Thread Sharif Mehedi
I do not have a django-admin project and using django views (along with other django submodules) in my python app, so, i do not have a directory structure like django projects has and I never had a templates directory in my app. The way we configured it, serving from templates directory is out