djangorestframework version code example Example: how to check django rest framework version python -c "import rest_framework; print(rest_framework.VERSION)"