#15032: Changeset 15031 breaks filtering to objects which are subclassed.
-------------------------------------------+--------------------------------
          Reporter:  rene                  |         Owner:  nobody             
                                       
            Status:  closed                |     Milestone:  1.3                
                                       
         Component:  django.contrib.admin  |       Version:  1.2                
                                       
        Resolution:  worksforme            |      Keywords:  filtering 
subclassed object not allowed regression blocker
             Stage:  Accepted              |     Has_patch:  0                  
                                       
        Needs_docs:  0                     |   Needs_tests:  0                  
                                       
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by ramiro):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 I have added a simplified test case that instead of having Employee
 inheriting from User makes it inherit from a Person model and it shows the
 filtering of WorkHour instances based on Employee is working (it also
 works if I undo the
 
[http://code.djangoproject.com/changeset?new=django%2Ftrunk%2Fdjango%2Fcontrib%2Fadmin%2Foptions.py%4015139&old=django%2Ftrunk%2Fdjango%2Fcontrib%2Fadmin%2Foptions.py%4015131
 change introduced in r15139].)

 Unfortunately you don't tell us what is the error you see in the admin.

 Find attached the modification for the Django test suite as a patch, I've
 also implemented this as a standalone test app so we can test this
 interactively, it is in the attached tarball.

 I'm going to close this ticket, please reopen if you can give us more
 details about what's the error condition you see.

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