installing rest framework code example
Example 1: install rest framework
pip install djangorestframework
pip install markdown # Markdown support for the browsable API.
pip install django-filter # Filtering support
Example 2: install rest framework
INSTALLED_APPS = [
...
'rest_framework',
]
Example 3: install rest framework
urlpatterns = [
...
path('api-auth/', include('rest_framework.urls'))
]