Re: newforms dateField

2007-03-14 Thread Joseph Kocherhans
On 3/14/07, Grupo Django <[EMAIL PROTECTED]> wrote: > > Hello, I have noticed that the field DateField in the newforms library > doesn't validate all right when introducing data. > I have this code: > > FormClass = forms.models.form_for_model(Model) > form = FormClass(data) > data =

newforms dateField

2007-03-14 Thread Grupo Django
Hello, I have noticed that the field DateField in the newforms library doesn't validate all right when introducing data. I have this code: FormClass = forms.models.form_for_model(Model) form = FormClass(data) data = request.POST.copy() data['author'] = request.user formulario = FormClass(data)