On Sat, 2007-03-10 at 18:07 +0000, Christian Hoeppner wrote: > Hi there! > > I wonder if there's a way to link a user to some kind of database entry > using a foreign key field. The problem is, how would I define something > like this? What's the actual name/path/something I use to reference the > auth_user objects?
Just import the User model and reference it in a ForeignKey field, just like you would for any other model. There's nothing special about that model. Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---