how to know django version code example
Example 1: django version check
python -m django --version
Example 2: command to check what version of django is installed
python3 -m django --version // mac
py -m django --version // windows
Example 3: how to check if django is installed( in python shell)
import django
django.VERSION
Example 4: how to check django version
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)