Re: Error in return the view (The view did not return an HttpResponse object)

2013-07-11 Thread Hélio Miranda
Yes, this really was the problem Brett Already decided, thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To pos

Re: Error in return the view (The view did not return an HttpResponse object)

2013-07-11 Thread Larry Martell
On Thu, Jul 11, 2013 at 5:23 AM, Hélio Miranda wrote: > Good. > I have the following view: > def characValue(request, name): > if request.method == 'POST': > charac = CharacteristicsValue.objects(name=name) > val = [] > for aa in charac: > val.append(aa.valu

Re: Error in return the view (The view did not return an HttpResponse object)

2013-07-11 Thread Brett Parker
On 11 Jul 04:23, Hélio Miranda wrote: > Good. > I have the following view: > *def characValue(request, name):* > *if request.method == 'POST':* > *charac = CharacteristicsValue.objects(name=name)* > *val = []* > *for aa in charac:* > *val.append(aa.value)* >

Error in return the view (The view did not return an HttpResponse object)

2013-07-11 Thread Hélio Miranda
Good. I have the following view: *def characValue(request, name):* *if request.method == 'POST':* *charac = CharacteristicsValue.objects(name=name)* *val = []* *for aa in charac:* *val.append(aa.value)* *jsonString = json.dumps(val)* *return H