Python: Environment Variables in Django II

preview_player
Показать описание
This video is about environment variables in Django. It goes over the following:

- What environment variables are
- How to set environment variables
- How to use environment variables in Django
- How to save environment variables in a .env file
- How to import environment variables into your Django project

Key takeaways:
- Environment variables are variables that are set outside of your program.
- Environment variables can be used to store sensitive data, such as API keys and database credentials.
- Environment variables can be used to configure your Django project.
- Environment variables can be saved in a .env file.
- Environment variables can be imported into your Django project using the os module.
Рекомендации по теме
Комментарии
Автор

Wonderful Tutorial. Thank you. Python and Django is really easy, Its pretty hard to get this done with Nodejs. So there are easy ways to do this kind of thing. Thank you Sir

chukwuebukaezugwu
Автор

Thank you for the teaching, this is the first time I will experience a road block in the assignments so far, I have followed your instructions (to the best of my knowledge) but it just isn't working out.

I am having so many complications and I will appreciate if I can find someone to guide me because I feel it setting it up shouldn't be this hard.

bolakunmioluwayemi
Автор

i did as you've instructed but yet i can't find the bin folder in my computer

how do i locate it, or does it have another name?

i'm using Windows 10

obasiemmanuel
Автор

How do we locate bin and activate on windows? The tutorial is not helpful. The instructor is teaching with the assumption that we have prior knowledge to this topic. I don't know where to find bin and activate on windows. This isn't very helpful.

anyanwubeauty
Автор

A version for windows should be made. Or when there is a difference in the working of MacBook and Windows, you can show it, so that we can still follow, I coped because I used documentation on Vscode site that taught about python/django

chukwuebukaezugwu
Автор

Please I need help on the django installation

On entering this command: python manage.py runserver...
I keep getting... CommandError: You must set settings. ALLOWED_HOSTS if DEBUG is FALSE.

salahdeennasiru
Автор

This isnt helpful at all. Instructor assumes we know how to get to some point which isnt suppose to be so, i believe every step should be explained. i have spent hours trying to locate the activate file and havent seen it. Please stop assuming and do explain every step and how to get there. Besides since a greater population of laptop owners use windows i think it is mere logical to use a windows os for lectures

shallommicah
Автор

I don't understand anything from 4:27 to 6:00

jokertee
Автор

This video is totally terrible, I was unable to understand the installation process. The facilitator is making this video from the point view of having an audience that has an idea of what he is doing. He didn't consider what if. He just assumed all

mavionogomuho