command to check what version of django is installed 1

command to check what version of django is installed

python3 -m django --version // mac
py -m django --version // windows

Here is what the above code is Doing:
1. We’re using the py command to run the Python interpreter.
2. We’re using the -m switch to tell Python to run a module as a script.
3. We’re using the django module, which is the Django project itself.
4. We’re using the –version switch to tell Django to print its version number.

Similar Posts