#373: Add support for multiple-column primary keys
---------------------------------------------------+------------------------
          Reporter:  jacob                         |         Owner:  dcramer 
            Status:  assigned                      |     Milestone:          
         Component:  Database layer (models, ORM)  |       Version:          
        Resolution:                                |      Keywords:  database
             Stage:  Accepted                      |     Has_patch:  0       
        Needs_docs:  0                             |   Needs_tests:  0       
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by unho):

 I was very excited about using Django to develop a new web app, but this
 particular issue makes impossible to use Django for developing it.

 What we need is a way to define a primary key for a model which consist on
 two foreign keys, one from another model and a second from another
 different model than the first two I mentioned. Of course we will be
 referring to the first model (the one with a multi-part primary key made
 of two foreign keys) from a fourth model, in other words, the fourth model
 has a foreign key pointing to the first model.

 I hope you can fix this for other projects since we won't use Django for
 developing our app.

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