On 8 déc, 13:26, Michael <[email protected]> wrote: > ^ Thanks for that. Have been scratching my head for a while as .id is > not a field/property for model.user, according to the doco I am > reading anyway (http://docs.djangoproject.com/en/dev/topics/auth/ > #topics-auth).
When no primary key is explicitely defined in a model, the ORM automagically adds one with name "id" and type "integer auto increment". -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

