2008/3/26, Rocio Figueroa <[EMAIL PROTECTED]>:
>
>  2008/3/26, Esteban Saavedra L. <[EMAIL PROTECTED]>:
>
> >
>  > You could generate the form based on the model:
>  >
>  >  UsuarioForm = forms.models.form_for_model(Usuario)
>  >
>  >  And then customize each field both at the views and the template to
>  >  put an order or special effect
>  >
>
>
> howto i customize each field???

example:
UsuarioForm.base_fields['nombre'].required = False

in general

UsuarioForm.base_fields['filed'].widget = type of widget


salu2



Esteban




-- 
M.Sc. Ing. Esteban Saavedra Lopez
CEO Opentelematics.Bolivia
Telefono:(+591.2) 5245959
Celular: +591 72450061
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Oruro - Bolivia
_____________________________________________
Te Invito a Visitarme y conocer mis Areas de
Investigacion
http://jesaavedra.opentelematics.org
http://esteban.profesionales.org
Si quieres chatear ICQ: 16270256
_____________________________________________

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to