Hello,
I have the following code:

///

def tracking(request):
    a = Order.objects.filter(order_status=2)
    request.session['tracking'] = list(a)

///

Whenever i access this function I get the following error:

ProgrammingError at /tracking/
operator does not exist: character varying = integer at character 676
HINT: No operator matches the given name and argument type(s). You
might need to add explicit type casts.

The line 'request.session['tracking'] = list(a)' is causing the error

///

Any suggestions?  Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to