Check django version in your system
To check the Django version installed on your system, you can follow these steps:
Open a command prompt or terminal window.
Type the following command and press Enter:
python python -m django --version
This command uses the -m
flag to run the django
module as a script and the --version
flag to get the Django version.
- The command will output the Django version installed on your system.
Here is an example of the command and its output:
$ python -m django --version
3.2.8
In this example, the Django version installed is 3.2.8.
Using the python -m django --version
command is a simple and straightforward way to check the Django version installed on your system.