Re: how to get a reference to a authenticated user

2007-02-20 Thread Benedict Verheyen
Russell Keith-Magee schreef: Thanks for the answers (super quick !) Russell en Honza. I'll try it out at once, Thanks, Benedict --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: how to get a reference to a authenticated user

2007-02-20 Thread Honza Král
On 2/20/07, Honza Kr�l <[EMAIL PROTECTED]> wrote: > On 2/20/07, Benedict Verheyen <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > i have some tables that i want to link with an authorized user. > > Right now i use the login mechanism of django. > > > > 1. Is it possible to specify a foreign_key to t

Re: how to get a reference to a authenticated user

2007-02-20 Thread Russell Keith-Magee
On 2/20/07, Benedict Verheyen <[EMAIL PROTECTED]> wrote: > > Hi, > > i have some tables that i want to link with an authorized user. > Right now i use the login mechanism of django. > > 1. Is it possible to specify a foreign_key to the auth_user database? Yes. from django.db import models from d

Re: how to get a reference to a authenticated user

2007-02-20 Thread Honza Král
On 2/20/07, Benedict Verheyen <[EMAIL PROTECTED]> wrote: > > Hi, > > i have some tables that i want to link with an authorized user. > Right now i use the login mechanism of django. > > 1. Is it possible to specify a foreign_key to the auth_user database? > If not, what is the best way to have a "u

how to get a reference to a authenticated user

2007-02-20 Thread Benedict Verheyen
Hi, i have some tables that i want to link with an authorized user. Right now i use the login mechanism of django. 1. Is it possible to specify a foreign_key to the auth_user database? If not, what is the best way to have a "user" field in a table that refers to a logged in user? 2. How can i g