Instale a estrutura de Rest Django
pip install djangorestframework
Virgin Programmer
pip install djangorestframework
pip install Django django-rest-framework
pip install djangorestframework
pip install markdown # Markdown support for the browsable API.
pip install django-filter # Filtering support
#command line
pip install djangorestframework
#settings.py
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework', #new
]