WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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