version of django installed code example
Example 1: how to check if django is installed( in python shell)
import django
django.VERSION
Example 2: check django version windows
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)
import django
django.VERSION
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)