Password field in Django model

前端 未结 5 1857
醉梦人生
醉梦人生 2020-12-02 11:17

I\'m trying to create a model where I can store usernames and passwords for other applications. How can I set a password field in Django so that it is not in plain text in a

5条回答
  •  死守一世寂寞
    2020-12-02 12:06

    I don't think you are ever going to be able to de-hash an encrypted password that was stored in a manner similar to the normal django User passwords. Part of the security is that they are un-de-hashable.

提交回复
热议问题