Django Tutorial


Creating Environment for Django


Install Python:

Make sure Python is installed on your system. You can download and install Python from the official python website


Create a virtual environment:

     -- python -m venv venv

* Last 'venv' is the environment name, you can write anything with your environment name.


Activate the virtual environment:

On Windows:

     -- venv\Scripts\activate

On macOS and Linux:

     -- source venv/bin/activate


Deactivate the virtual environment:

     -- deactivate

For deactivate the environment, you can simply type 'deactivate' in command line.