Re: httpresponse from stand alone script

2012-08-24 Thread Tom Evans
On Fri, Aug 24, 2012 at 9:47 AM, Blaxton wrote: > Hi > > I am calling a stand alone script from within views.py and > was able to generate a html file with render_to_string in a stand alone > script > by include followng line: > from django.template.loader import render_to_string Why would you ca

httpresponse from stand alone script

2012-08-24 Thread Blaxton
Hi I am calling a stand alone script from within views.py and  was able to generate a html file with render_to_string in a stand alone script by include followng line: from django.template.loader import render_to_string now , need to use "httpresponse" to generate a response. is it possible ? t