#15062: r14389 breaks getattr on Manager subclasses
---------------------------------------------------+------------------------
          Reporter:  clelland                      |         Owner:  nobody     
       
            Status:  reopened                      |     Milestone:  1.3        
       
         Component:  Database layer (models, ORM)  |       Version:  SVN        
       
        Resolution:                                |      Keywords:  regression 
blocker
             Stage:  Accepted                      |     Has_patch:  0          
       
        Needs_docs:  0                             |   Needs_tests:  0          
       
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by clelland):

 I can confirm that it works with Ɓukasz' additions (either the single- or
 double-underscore version) that the manager works correctly. This works
 around the issue on both 1.2.X and SVN.

 I don't know whether '`_`' or '`__`' is more correct in this case --
 calling a special method on a manager should certainly not try to delegate
 to the queryset, but I don't know about attributes that are just private
 by convention.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15062#comment:7>
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