#6045: Many2Many manager and “TypeError: filter() keywords must be strings”
---------------------------------------------------+------------------------
          Reporter:  proxor                        |         Owner:  Natim      
                              
            Status:  assigned                      |     Milestone:             
                              
         Component:  Database layer (models, ORM)  |       Version:  SVN        
                              
        Resolution:                                |      Keywords:  many2many, 
related, unicode easy-pickings
             Stage:  Accepted                      |     Has_patch:  1          
                              
        Needs_docs:  0                             |   Needs_tests:  1          
                              
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by [email protected]):

 Adding "from __future__ import unicode_literals" to your models.py when
 using Python 2.6 also causes this problem. It's obvious, as afterwards all
 strings are unicode strings. But I wanted to point out the relationship to
 Python 2.6 in case someone else encounters such a problem.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6045#comment:9>
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to