Re: Redirect to html file

2009-06-29 Thread rskm1
> Hi! If I have some html file somewhere (i.e. /var/file), how to > redirect user to it? It is not a template and not in a template > folder. Thanks :) "Redirect" probably isn't the word you wanted there. If you really meant "How do I make my view function display the contents of an arbitrary

Re: Redirect to html file

2009-06-29 Thread Alex Gaynor
On Mon, Jun 29, 2009 at 6:11 AM, Daniel Roseman wrote: > > On Jun 29, 9:23 am, alecs wrote: > > Hi! If I have some html file somewhere (i.e. /var/file), how to > > redirect user to it? It is not a template and not in a template > > folder. Thanks :) >

Re: Redirect to html file

2009-06-29 Thread Daniel Roseman
On Jun 29, 9:23 am, alecs wrote: > Hi! If I have some html file somewhere (i.e. /var/file), how to > redirect user to it? It is not a template and not in a template > folder. Thanks :) It needs to be somewhere the webserver can see it. Ideally you'd put in the same place as

Redirect to html file

2009-06-29 Thread alecs
Hi! If I have some html file somewhere (i.e. /var/file), how to redirect user to it? It is not a template and not in a template folder. Thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.