Re: Using {% ifequal %} in my template is not working

2007-11-10 Thread Greg
Thanks Ivan, I've got it working however I did something different. I just put str() around my query and it works. So instead of request.session['info'].update(shape=ProductShape.objects.get(id=request['shape'])) I used: request.session['info'].update(shape=str(ProductShape.objects.get(id=req

Re: Using {% ifequal %} in my template is not working

2007-11-10 Thread Ivan Sagalaev
Greg wrote: > request.session['info'].update(shape=ProductShape.objects.get(id=request['shape'])) > return render_to_response('search.htm', {'pinfo': > request.session['info']} This might be because of your first line here doesn't work as expected. Session is not exactly a dict and one of the th