Closed Justin-Ferwerda closed 1 year ago
Can we add a file called sample.env
in the app directory so we can keep track of all our variables?
SECRET_KEY=
EMAIL_USER=
EMAIL_PASSWORD=
Also, let's add the django-environ
as a dependency in our Pipfile. I know you have it being installed using pip globally, but we want to make sure this exists in the Pipfile for deployment.
We can use the version 0.10.0
django-environ = "0.10.0"
I created a gmail account for Muka, help.muka@gmail.com. This can be changed, just what I thought of. I then connected it to Django in settings.py and created a test view.
To Test
{ "message": "Email Sent!" }
Dependencies
pip install django-environ