def OrderPlacedView(request):
    form = OrderPlaceForm()
    try:
        print "try"
        print request.POST
        #brand = BrandName.objects.get(pk=request.POST['brand'])
    except:
        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."

i have similar type of view which works fine whats the problem with
this ..
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to