#13963: Admin: 'RelatedObject' object has no attribute 'verbose_name'
-------------------------------------------+--------------------------------
          Reporter:  sfllaw                |         Owner:  nobody             
                     
            Status:  new                   |     Milestone:                     
                     
         Component:  django.contrib.admin  |       Version:  1.2                
                     
        Resolution:                        |      Keywords:  OneToOneField 
RelatedObject list_display
             Stage:  Accepted              |     Has_patch:  1                  
                     
        Needs_docs:  0                     |   Needs_tests:  1                  
                     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by carljm):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Accepted
  * needs_tests:  => 1
  * needs_docs:  => 0

Comment:

 I can confirm the issue (though the Location model definition has to be
 moved above the EventAdmin definition for the above sample models to
 validate). Patch fixes the issue and looks reasonable.

 Simon, if you'd like to move this forward what's necessary now is an
 automated test (probably in tests/regression_tests/admin_util) that fails
 before your patch and passes after it. (Also, of course, ensuring that no
 existing tests fail with the patch).

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