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
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
2 matches
Mail list logo