check django installed code example
Example 1: how to check if django is installed in ubuntu
$ django-admin.py version
Example 2: how to check if django is installed( in python shell)
import django
django.VERSION
$ django-admin.py version
import django
django.VERSION