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 to answer your support query with their limited time and energy.
For support, please follow the "Getting Help" page: https://docs.djangoproject.com/en/3.1/faq/help/ . This will help you find people who are willing to support you, and to ask your question in a way that makes it easy for them to answer. I think perhaps you are looking for the DIRS key in the TEMPLATES setting, but a clearer question in one of the help channels would clarify your requirements. Thanks for your understanding and all the best, Adam On Thu, 20 May 2021 at 18:38, Sharif Mehedi <sharifmehed...@gmail.com> wrote: > 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 > of the question. > > I want to know, if there's an easy solution in making django take a > template_name as (django.views.generic.base).TemplateView.template_name > that is (simply said) outside the templates directory. > > TIA > Regards, > Sharif > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/082f893b-5f32-4641-a786-7b1dff51ce4an%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/082f893b-5f32-4641-a786-7b1dff51ce4an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM0XD7ivtpiQxgmfjcBvaywzQtTLf%3DVL%3De9MvS7nL-2qDw%40mail.gmail.com.