[Answer]-Do I need to maintain my Django SECRET_KEY when migrating users between builds?

1👍

SECRET_KEY isn’t used for password salts, but it’s used to sign — among other things — session cookies and password reset links.

If you change it, your users will be logged out of their sessions, and password reset links that were generated prior to the change won’t work anymore.

Passwords themselves won’t be affected.

Leave a comment