#3288: ForeignKey to 'self' and select_related() = infinite recursion
-----------------------------------------------+----------------------------
   Reporter:  Max Derkachev <[EMAIL PROTECTED]>  |                Owner:  PhiR  
           
     Status:  assigned                         |            Component:  
Database wrapper 
    Version:  SVN                              |           Resolution:          
         
   Keywords:  qs-rf                            |                Stage:  Ready 
for checkin
  Has_patch:  1                                |           Needs_docs:  0       
         
Needs_tests:  0                                |   Needs_better_patch:  1       
         
-----------------------------------------------+----------------------------
Comment (by pkenjora):

 Adding edit_inline=True seems to break the patch.

 In above example make error go away by changing:

 project = models.ForeignKey("Project", null=True, edit_inline=True,
 core=True)

 to:

 project = models.ForeignKey("Project", null=True, core=True)

 That resolved the issue if it persists after patch is applied.

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