Django-WebApp
Django-WebApp copied to clipboard
Secret key
Keep the secret key secret because it can be responsible for vulnerable attacks if exposed. Below are steps to follow:
- 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.
- change settings.py to achieve the functionality of keeping the secret key secret.