Installation
- In the environment that youre in, whether pip or pipenv, run the following command.
pipenv install djangorestframeworkremember to replace pipenv with the actual package youre doing
- After, go to your settings.py file and then add django rest framework in the list of installed apps. see below
INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.sessions', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', 'playground', 'debug_toolbar', 'store', 'tags', 'likes']That’s all you need to get started with DRF