Use include template tag in another app template folder

23 views
Skip to first unread message

mohamed khaled

unread,
Sep 2, 2022, 9:22:33 AM9/2/22
to Django users
I have two apps each one has template folder I want to use include template tag to get template from other app how can I handle that 

Abdul Qoyyuum Haji Abdul Kadir

unread,
Sep 2, 2022, 10:10:14 AM9/2/22
to django...@googlegroups.com
It would be problematic. Just copy and paste the template file from one app into the other.

Abdul Qoyyuum Bin Haji Abdul Kadir
about.me/qoyyuum

On Fri, Sep 2, 2022, 5:22 PM mohamed khaled <mohamed.k...@gmail.com> wrote:
I have two apps each one has template folder I want to use include template tag to get template from other app how can I handle that 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/91eeb0b2-304a-4fef-94b1-e407ef82fbfcn%40googlegroups.com.

Wazed Khan

unread,
Sep 2, 2022, 10:25:21 AM9/2/22
to django...@googlegroups.com
You can set custom template folder in you project directory 

From there you can use any template for any app

Change template path from setting 
You can look into documentation.

Wazed Khan

unread,
Sep 2, 2022, 10:26:11 AM9/2/22
to django...@googlegroups.com
My Bad
Reply all
Reply to author
Forward
0 new messages