I\'m new to Django & I\'m making a Django app that makes use of AbstractUser, but when I create
Because it directly save in the database. So before it save you must override the method for hashing the password. Add this in your form:
def save(self, commit=True):
# Save the provided password in hashed format
user = super(MyForm, self).save(commit=False)
user.set_password(self.cleaned_data["password"])
if commit:
user.save()
return user