#4490: edit_inline breaks when referencing the foreign key model twice
---------------------------------------------------+------------------------
   Reporter:  James Punteney <[EMAIL PROTECTED]>  |                Owner:  
adrian         
     Status:  new                                  |            Component:  
Admin interface
    Version:  0.96                                 |           Resolution:      
           
   Keywords:  edit_inline                          |                Stage:  
Unreviewed     
  Has_patch:  0                                    |           Needs_docs:  0   
           
Needs_tests:  0                                    |   Needs_better_patch:  0   
           
---------------------------------------------------+------------------------
Changes (by anonymous):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Here's the relevant lines inside the RelatedObject class. 129 is the last
 line of:
 
 {{{
     def bind(self, field_mapping, original,
 bound_related_object_class=BoundRelatedObject):
         return bound_related_object_class(self, field_mapping, original)
 }}}
 
 Looks like something's passing a bool into {{{bind()}}} as
 {{{bound_related_object_class}} instead of passing a
 {{{BoundRelatedObject}}}, as it should.
 
 You may want to provide more of the stack trace, if you can.

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