I am following this tutorial but facing these problems I can\'t fix:
We can write a signal in User to solve this.
def create_hash(sender, instance=None, *args, **kwargs): passwd = instance.password instance.set_password(passwd) pre_save.connect(create_hash, sender=User)