Install the package via pip
:
$ pip install djangorestframework
Then, add 'rest_framework'
to INSTALLED_APPS
in your settings.py
file.
INSTALLED_APPS = [ # Rest of your installed apps ... 'rest_framework', ]
Install the package via pip
:
$ pip install djangorestframework
Then, add 'rest_framework'
to INSTALLED_APPS
in your settings.py
file.
INSTALLED_APPS = [ # Rest of your installed apps ... 'rest_framework', ]