#5996: psycopg2 raises "can't adapt" error where other backends work happily
---------------------------------------------------+------------------------
          Reporter:  zgoda                         |         Owner:  anonymous
            Status:  closed                        |     Milestone:           
         Component:  Database layer (models, ORM)  |       Version:  SVN      
        Resolution:  fixed                         |      Keywords:           
             Stage:  Ready for checkin             |     Has_patch:  1        
        Needs_docs:  0                             |   Needs_tests:  0        
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by anibal):

 '''FYI:''' [[BR]] I had recently a can't adapt error in a
 `FooModel.objects.get(..., user=request.user)` line
 [[BR]]
 And the issue was fixed changing the line ... `user__id=request.user.id`
 [[BR]]
 Now I don't receive "can't adapt" mails from production server any more.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5996#comment:8>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to