how to check if django is installed code example
Example 1: how to check if django is installed in ubuntu
$ django-admin.py version
Example 2: command to check what version of django is installed
python3 -m django --version // mac
py -m django --version // windows
Example 3: check if django is installed
#Make sure you are in your applications venv
i.e (source "application"_env/bin/activate)
# Then run the below command
python -m django --version
Example 4: check django version windows
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)