Re: auto populating the fields in the models

2013-12-01 Thread Aamu Padi
Yes, that's what I was looking for, the save method. Can you please kindly show me how, so that I don't have to create a new thread first or create a new set of ThreadParticipants. I just want it to be on the background, so that all I have to do is create a message and send it to the user. Thank yo

Re: auto populating the fields in the models

2013-12-01 Thread Rafael E. Ferrero
sorry my previous message... it was not quite clear... here again: 2013/12/1 Rafael E. Ferrero > IMHO with this design you first need an user and a thread to create a new > message. > > In the admin interface you gonna look a + button to create a user and > other to create a thread. > OR Yo

Re: auto populating the fields in the models

2013-12-01 Thread Rafael E. Ferrero
IMHO with this design you first need an user and a thread to create a new message. In the admin interface you gonna look a + button to create a user and other to create a thread. For example class Message(models.Model): thread = models.ForeignKey(Thread) sent_date = models.DateTimeField(d