On 8 déc, 13:26, Michael <m.nitsc...@gmail.com> 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 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.


Reply via email to