Remember to always _return_ a HttpResponse from your view. def myview(request): return HttpResponse("Hello World")
or def myotherview(request): return render_to_response("mytemplate.html", locals()) Cheers and good luck. -- Rui On Mon, Jul 7, 2008 at 12:14 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Mon, 2008-07-07 at 08:10 -0700, joshuajonah wrote: >> I'm not sure where I'm going wrong here. I have a form, when i submit >> it, even blank if gives me this error. I have tried changing it to >> POST and then back to a GET submit, but it still doesn't get the >> response. >> >> Here's the debug page with bonus GET vars too! (this way both POST and >> GET vars are being sent): >> http://www.hftvnetwork.com/ProductInventory/?first_name=&last_name=&company=&address=&city=&state=&zipcode=&phone_number=&email_address=&fax=&website=&number_of_stores=&store_size=&store_traffic=&Bird_blank_0=&Bird_blank_1=&Bird_blank_2=&Bird_blank_3=&Bird_blank_4=&Bird_blank_5=&Bird_blank_6=&Bird_blank_7=&Bird_blank_8=&Bird_blank_9=&Bird_blank_10=&Bird_blank_11=&Toys_blank_0=&Toys_blank_1=&Toys_blank_2=&Toys_blank_3=&Toys_blank_4=&Toys_blank_5=&Toys_blank_6=&Toys_blank_7=&Toys_blank_8=&Toys_blank_9=&Toys_blank_10=&submit=Submit >> >> my form tag is like this: <form action="" method="POST"> >> >> Any ideas? > > The error has nothing to do with your form. It's saying that the view > function did not return an HttpResponse object. So have a look at the > view function involved and fix that problem. > > Regards, > Malcolm > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---