check django version on centos code example
Example 1: command to check what version of django is installed
python3 -m django --version // mac
py -m django --version // windows
Example 2: check django version windows
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)