On Sun, Nov 1, 2009 at 10:56 PM, Nick Arnett <nick.arn...@gmail.com> wrote:
> As I ask the question, it now seems clear to me that the column is
> needed.

There must be a field on the model with "primary_key=True". If a model
is defined without such a field, Django assumes an implicit
auto-incrementing field named "id" as the primary key.

Note also that composite primary keys are not currently supported.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to