Re: The view didn't return an HttpResponse object.

2012-10-01 Thread Satinderpal Singh
On Mon, Oct 1, 2012 at 4:58 PM, Babatunde Akinyanmi wrote: > Oooops. I see the question has already been answered. My phone didn't > get the update on time. No worries, Thanks anyways > On 10/1/12, Babatunde Akinyanmi wrote: >> Its possible that when you refresh the form and the POST request get

Re: The view didn't return an HttpResponse object.

2012-10-01 Thread Babatunde Akinyanmi
Oooops. I see the question has already been answered. My phone didn't get the update on time. On 10/1/12, Babatunde Akinyanmi wrote: > Its possible that when you refresh the form and the POST request gets > submitted, the form doesn't pass the form.is_valid() if conditional. > In your code, you d

Re: The view didn't return an HttpResponse object.

2012-10-01 Thread Babatunde Akinyanmi
Its possible that when you refresh the form and the POST request gets submitted, the form doesn't pass the form.is_valid() if conditional. In your code, you didn't make any provision for when the form fails the is_valid() test and from your code, execution stops once is_valid() returns False so I *

Re: The view didn't return an HttpResponse object.

2012-10-01 Thread Tom Evans
On Mon, Oct 1, 2012 at 12:11 PM, Satinderpal Singh wrote: > On Mon, Oct 1, 2012 at 4:27 PM, Tom Evans wrote: >> On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh >> wrote: > I add the following to my code, >>> I made a model form and a view which accepts input as a form and >>> display it in th

Re: The view didn't return an HttpResponse object.

2012-10-01 Thread Satinderpal Singh
On Mon, Oct 1, 2012 at 4:27 PM, Tom Evans wrote: > On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh > wrote: I add the following to my code, >> I made a model form and a view which accepts input as a form and >> display it in the html format. As when i refresh the html page or try >> to fill an

Re: The view didn't return an HttpResponse object.

2012-10-01 Thread Tom Evans
On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh wrote: > I made a model form and a view which accepts input as a form and > display it in the html format. As when i refresh the html page or try > to fill another entry in the form, it gives the following error: > > The view Automation.report.vie

The view didn't return an HttpResponse object.

2012-10-01 Thread Satinderpal Singh
I made a model form and a view which accepts input as a form and display it in the html format. As when i refresh the html page or try to fill another entry in the form, it gives the following error: The view Automation.report.views.chemical_analysis didn't return an HttpResponse object. Here is

Re: The view didn't return an HttpResponse object.

2008-12-16 Thread Malcolm Tredinnick
> print"nothing" > return render_to_response('inventory/orderprocess.html', > {'form':form}) > > above is my view code when a try to call this view its give and error > "The view didn't return an HttpResponse object." >

Re: The view didn't return an HttpResponse object.

2008-12-16 Thread Eric Abrahamsen
t; > above is my view code when a try to call this view its give and error > "The view didn't return an HttpResponse object." > > i have similar type of view which works fine whats the problem with > this .. > > --~--~-~--~~~---~--~

The view didn't return an HttpResponse object.

2008-12-16 Thread oops
ry/orderprocess.html', {'form':form}) above is my view code when a try to call this view its give and error "The view didn't return an HttpResponse object." i have similar type of view which works fine whats the problem with this .. --~--~-~--~~--