check django version in windows code example
Example 1: how to check if django is installed in ubuntu
$ django-admin.py version
Example 2: check django version windows
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)
$ django-admin.py version
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)