Re: Set field on related table

2016-05-13 Thread Biase D'Agostino
thanks Il giorno lunedì 9 maggio 2016 15:29:00 UTC+2, ludovic coues ha scritto: > > If you hare a beginner, you should definitely take a good look at the > django tutorial. It's full of details you need to know to be effective > with django like ForeignKeyField, which let you write > user.Badg

Re: Set field on related table

2016-05-09 Thread ludovic coues
If you hare a beginner, you should definitely take a good look at the django tutorial. It's full of details you need to know to be effective with django like ForeignKeyField, which let you write user.Badge.Available = 0 2016-05-09 10:34 GMT+02:00 Biase D'Agostino : > Hello, > sorry for the questio

Set field on related table

2016-05-09 Thread Biase D'Agostino
Hello, sorry for the question that might sound silly , but I need help because I'm newbie . I have 2 tables User ( Name , Surname , BadgeNR ) and Badge (No. , date Activation , Due Date , Available ) . I use a form to add and arises to change the data of a user, but I need to set to 0 the Ava

Set field on related table

2016-05-09 Thread Biase D'Agostino
Hello, sorry for the question that might sound silly , but I need help because i'm newbie . I have 2 tables User ( Name , Surname , BadgeNR ) and Badge (No. , date Activation , Due Date , Available ) . I use a form to add and update the data of a user, but I need , also, to set to 0 the Avail