Gabriel wrote: [...] > Fabio Natali escribió: > > I wish I could keep track of the user who added each recipe. Am I > > supposed to add a "user" (or say "cook") field to my recipe model? Or > > can I rather get that information from the auth application for free? > > You should add a ForeingKey to User in your model.
Dear Gabriel, you've been faster than light! Thank you so much for you precious help. I'll add a foreign key as you say. All the best, Fabio. -- Fabio Natali --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---