pip install django djangorestframework django-rest-knox code example Example: django knox install pip install django-rest-knox