Re: Editing model based forms.

2009-07-28 Thread Eugene Mirotin
AKK, the previous response from Daniel Roseman completely answers your question - the user field is HIDDEN on the form and AUTOMATICALLY filled in the form handling action. You should read the Django 'topics', I think. On Jul 27, 10:52 pm, AKK wrote: > Thanks, that

Re: Editing model based forms.

2009-07-27 Thread Ramiro Morales
On Mon, Jul 27, 2009 at 7:52 AM, AKK wrote: > > Is there a way to do this or should i create my own form manually? > > Andrew > > On Jul 27, 12:15 am, AKK wrote: >> Hi, I have a form based on a model which allows users to add comment. >> A

Re: Editing model based forms.

2009-07-27 Thread AKK
Thanks, that will work for time. I want the username value to be added without the user typing it in because they can type anything and its a bit silly to get them to type in there username everytime they want to comment. So i want the {{ user.username }} value to be automatically detected and

Re: Editing model based forms.

2009-07-27 Thread Daniel Roseman
On Jul 27, 12:15 am, AKK wrote: > Hi, I have a form based on a model which allows users to add comment. > A comment is made up of the comment is about, the body, the date and > time and also who made the comment. > > I am mainly interested in the datetime and user

Re: Editing model based forms.

2009-07-27 Thread AKK
Is there a way to do this or should i create my own form manually? Andrew On Jul 27, 12:15 am, AKK wrote: > Hi, I have a form based on a model which allows users to add comment. > A comment is made up of the comment is about, the body, the date and > time and also

Editing model based forms.

2009-07-26 Thread AKK
Hi, I have a form based on a model which allows users to add comment. A comment is made up of the comment is about, the body, the date and time and also who made the comment. I am mainly interested in the datetime and user fields. What i would like to know is how i can automatically have these