display django version code example
Example 1: django version check
python -m django --version
Example 2: Check django version in your system
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)
python -m django --version
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)