Hi Nick,
you can do this by passing the widget parameter to a CharField.

A little example:
password =  
forms 
.CharField 
(label=_(u'Password'),widget=forms.PasswordInput(render_value=False))

Lukas

Am 02.11.2008 um 17:58 schrieb nkulmati:

>
> How come this page:
> http://docs.djangoproject.com/en/dev/ref/forms/fields/#module-django.forms.fields
> does not contain information about password fields?
>
> How do I create and use a password form field then?
>
> Clearly, django has support for password form fields, since they are
> used in the standard Create New User form provided in the library.
>
> Thanks!
> Nick.
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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