On Wed, Mar 17, 2010 at 12:21 PM, ojayred <oredho...@gmail.com> wrote: > Hello Users, > > I am new to using Django and so far, I like it. I have installed > Django and want to use it with a pre-existing database. Several tables > have multiple primary keys. How do I create the multiple primary keys > in the model? I did use the inspectdb command to help me create the > model because some tables have more than 25 columns.
Unfortunately it isn't supported. See: http://docs.djangoproject.com/en/1.1/faq/models/#do-django-models-support-multiple-column-primary-keys -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.