Okay.
In this video, we're going to install Django and some other things, the Django Rest framework that
we're going to need for this course.
So we're in our virtual environment.
And to install Django, we just type in Pip, install Django.
Now, if you want to install a specific version of Django, you can type equal, equal and then one
point whatever, two point, whatever, whatever version you want, you just designate it that way.
We just want the latest version.
So Pip install Django and Pip is the python installation processor.
I don't know.
Program something.
Pip.
It's just what you use to install things with Python and you can see it's downloading Django.
It's also installing the sculptures.
This pi ts and Django itself.
Pi ts is a python time zone file does some things behind the scene as SQL parse.
SQL is a database.
It does some database stuff that's all just normal.
Okay.
We also need the Django rest framework in order to create a rest API.
So same command pip install and it's just Django rest framework.
So it's collecting, installing.
Done.
All right.
So now we can type in Pip freeze if we want to see what's been installed inside of our virtual environment.
And you notice we've got Django, we've got the Django Rest framework, we've got this Pi Etsy and we've
got SQL Parse.
Now take a look at this.
If I deactivate my virtual environment, turn it off and then run Pip, freeze.
Now this is saying what's installed on my computer.
I've got a whole bunch of stuff installed, but you'll notice there's no Django, there's no Django
rest framework.
There's no anything.
Right?
SQL passes in there.
None of the things we just installed appear to be on my computer.
And that's because, like I said in the last video, it's a walled garden, a virtual environment.
So we've only installed these things inside the virtual environment.
So that means every time you open up your terminal and you want to start working on your Django project
every single time, you need to come to your C Django API directory and then type in that source Venv
scripts, activate command, and then you turn on your virtual environment and then, you know, we
can see sure enough, all those things that we installed are still there and you're good to go.
So.
So I think that's all for virtual environments.
In the next video, we'll go ahead and start our Django project and start building it out.