how to check django rest framework version code example
Example 1: how to check django rest framework version
python -c "import rest_framework; print(rest_framework.VERSION)"
Example 2: how to check django version
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)