I've been asked to identify devices with Django installed. As best I can tell, it's a python / python3 framework.
python -c "import django; print(django.get_version())"
or
python3 -c "import django; print(django.get_version())"
would provide the answer... but I can't seem to get the syntax correct to do either not installed, or one of the versions...