Hi guys, Does anyone worked on some way to django models work with composite primary keys? I need to implement a login system and the login should be unique for an specified username and a specified site url. I see the ticket above and it seems the wasn't any advance after it.
http://code.djangoproject.com/ticket/373 I think to use just unique constraint on database level, so I can use an autoincrement integer primary key. What is the best approach when talking about database level, using a primary key with username and url or a integer id and have a unique constraint to username and url? Best regards, Michel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---