Dear All,
I have a Django based web application to gather recipes. I have a
"recipe" model with fields "ingredients", "date added", etc.
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
Fabio Natali escribió:
> Dear All,
>
> I have a Django based web application to gather recipes. I have a
> "recipe" model with fields "ingredients", "date added", etc.
>
> 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 rec
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
3 matches
Mail list logo