DEV Community

Discussion on: How to protect your Django Secret and OAuth Keys [2024 revised]

 
vladyslavnua profile image
vladyslav nykoliuk

For the first one, the .gitignore file doesn't come with the initial Django project - you have to manually create it. Make sure it's in the same directory as the manage.py, requirements, etc.

For the dotenv, do the errors still show up after you run:

pip freeze > requirements.txt

?

Thread Thread
 
hengage profile image
Henry Chizoba

Thank you, i fixed it already. Thanks.