python -m django --version or python3 -m django --version
Here is what the above code is Doing:
1. We’re using the python command to run the django-admin script.
2. We’re using the startproject command to create a Django project.
3. We’re giving our project the name mysite.