Re: Using External HTML files in Django

2022-05-03 Thread Santhosh sridhar
Thanks Mike. It worked ! On Tuesday, May 3, 2022 at 9:32:26 AM UTC+5:30 Mike Dewhirst wrote: > On 3/05/2022 8:44 am, Hazho Human wrote: > > Why not serving that specific URL with Nginx or Apache? > > On Tue, 3 May 2022 at 03:15, Santhosh sridhar > wrote: > >> Hi, >> >> I have few html files wh

Re: Using External HTML files in Django

2022-05-02 Thread Mike Dewhirst
On 3/05/2022 8:44 am, Hazho Human wrote: Why not serving that specific URL with Nginx or Apache? On Tue, 3 May 2022 at 03:15, Santhosh sridhar wrote: Hi, I have few html files which are not part of my django project templates directory. I want to render these html files as a

Re: Using External HTML files in Django

2022-05-02 Thread Hazho Human
Why not serving that specific URL with Nginx or Apache? On Tue, 3 May 2022 at 03:15, Santhosh sridhar wrote: > Hi, > > I have few html files which are not part of my django project templates > directory. > I want to render these html files as a response into some url. > > Could someone help if y

Using External HTML files in Django

2022-05-02 Thread Santhosh sridhar
Hi, I have few html files which are not part of my django project templates directory. I want to render these html files as a response into some url. Could someone help if you have any idea? I tried using {% include %} and it gave TemplateDoesNotExist error. -Santhosh -- You received this