Setting up your first Django project, application, database and CRUD forms in less than 10 minutes.
Django is really powerful for the fact that it does the entire hard work behind the scenes and speed up your development process given handy toolset that would consume too much your time as a developer.
Python Virtual Environment
Most of Operational Systems already have python installed on your computer, that’s why we don’t want to use the same bin folder to avoid messy it up, right ?
Before we start coding, we should set up our own python virtual environment to be able to isolate our Django application.
Firstly, let’s create a folder called django_course, so this folder will be the root level of all our scripts from now.
Run the command below in your terminal from the django_course level.
This command will create your custom environment, keep in mind that virtual_env is just a given name, so be free to pick whatever you want.
> python3 -m venv ./virtual_env
Now we just need to activate this virtual environment using the command source to point to the python activate file located inside the bin folder that we have just created.