简体   繁体   中英

Django SECRET_KEY : Copying hashed passwords into different Django project

I have a Django powered site(Project-1) running with some users registered on it. I am now creating a revamped version of the site in a new separate Django project(Project-2) which I would make live once finished. I would need to populate the User data along with their hashed passwords currently in database of Project-1 into database of Project-2. Would having different SECRET_KEY s for Project-1 and Project-2 be an issue to get the hashed passwords migrated and working in Project-2?

否, settings.SECRET_KEY 。SECRET_KEY不用于密码哈希

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM