Skip to content

Comments

Secret key#17

Open
Tanishq-Tiwari-28 wants to merge 2 commits intosmahesh29:masterfrom
Tanishq-Tiwari-28:secret_key
Open

Secret key#17
Tanishq-Tiwari-28 wants to merge 2 commits intosmahesh29:masterfrom
Tanishq-Tiwari-28:secret_key

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