Re: How to serve a static html file instead of rendering it as a template.

2010-06-11 Thread Antoni Aloy
Just modify your server configuration to directly serve the folder and do not sent it to django. It's the same you'll do for media files. Hope it helps! -- Antoni Aloy López Blog: http://trespams.com Site: http://apsl.net -- You received this message because you are subscribed to the Google G

Re: How to serve a static html file instead of rendering it as a template.

2010-06-11 Thread tsmets
I think it is all explained in here : http://docs.djangoproject.com/en/dev/howto/static-files/ As mentionned by every body around... It is ok in DEV but ... you should not do so in other environment. \T, On Jun 11, 8:12 am, lalaba wrote: > Hi all, > I am wondering how I can serve an html file

Re: How to serve a static html file instead of rendering it as a template.

2010-06-11 Thread Daniel Roseman
On Jun 11, 7:12 am, lalaba wrote: > Hi all, > I am wondering how I can serve an html file without having to have > Django think it's a template file. > > In my html file, because there are markups that confuse Django, I'd > like to serve it as it is. I tried to read the html file directly into > D