Skip to content

Conversation

Tanishq-Tiwari-28
Copy link

Keep the secret key secret because it can be responsible for vulnerable attacks if exposed.
Below are steps to follow:

  1. install a package called "environ" to read the content of .env files.
    .env files contain sensitive info and should be kept secret and should not be pushed into git rep.
  2. change settings.py to achieve the functionality of keeping the secret key secret.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant