Answer the question
In order to leave comments, you need to log in
Replacing SECRET_KEY in production?
Connoisseurs, tell me, is it possible to transfer the secret key and setrtings.py in general (with the latest changes in media, static, allowed host) to production?
Why did you doubt? when I read about deploying with git, I don’t remember that it was recommended not to touch this key, but I deployed the project traditionally through startproject. In the SECRET_KEY settings it is very different from the local key. What to do here, do you need to protect it when creating it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question