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 =
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)
2 matches
Mail list logo