django passwordinput

So you want to use a django.newsforms for passwords? Turns out to be all right…once you figure it out

from django.newforms.widgets import * # passwordinput
class UserEditVitalsForm(forms.Form):
 previousPassword = forms.CharField(widget = PasswordInput)

Then it should display right 🙂
Note if you want a partial field to work with django newforms and a database entry, let me know, I have some code to help.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.