Re: need help on set_password()..............

2012-07-29 Thread Chris Lawlor
If you're using the User model from contrib.auth, you can simply use User.objects.create_user(username, email=None, password=password). This will create a new User object, and then call set_password() # forms.py class RegistrationForm(form.Form): username = forms.CharField() password = f

need help on set_password()..............

2012-07-28 Thread yaswanth s
hi every one, i created one external registration form.. all are working good, but when we open the admin sit it showing the password as plain text. how to convert the password into hash formate and save into database.. can any one suggest for the abovt one -- Th