Re: Adding a password confirm on modelForm

2009-11-03 Thread ankit rai
in ur model form add a field called *confirm_password =CharField(max_length=200) * and then in admin u can add this field in fieldset .This will get display in ur UI For confirming the password is same or not use *clean* method and get the value of both the fields i.e password and confirm_passwor

Adding a password confirm on modelForm

2009-11-03 Thread Denis Bahati
Hi All, I have my model which registers users of my system and i created a modelForm to make all fields of the model appear as html form which has no confirm password. How can i add a field to let users confirm their password? Here is my model and modelForm class User(models.Model): title = models