#11437: [soc2009/multidb] M2M Relationship with through=[model] whose primary 
key
is renamed fails with wrong column name
---------------------------------------------------+------------------------
          Reporter:  anonymous                     |         Owner:  nobody     
                 
            Status:  new                           |     Milestone:             
                 
         Component:  Database layer (models, ORM)  |       Version:  
soc2009/multidb             
        Resolution:                                |      Keywords:  multidb 
manytomany db_column
             Stage:  Unreviewed                    |     Has_patch:  0          
                 
        Needs_docs:  0                             |   Needs_tests:  0          
                 
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by anonymous):

 Replying to [comment:2 anonymous]:
 > I'll try to reproduce it with the models you added (in the diff), but I
 can't try it out right now. A quick glance shows that you don't have the
 using='otherdb' in all of the meta classes, but I'm not sure if that's the
 reason I'm encountering this.

 A second glance also shows that the table names are not renamed with
 db_table. I'll check this out too.

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