To install Django, you can simply open your command prompt and type:
Pip install djangoframework
Next, if you want to add the rest functionality to it, go to the setting and under “INSTALLED_APPS” , type the below command:
INSTALLED_APPS = (
…
‘rest_framework’,
)
In case you want to know more about Django rest framework, you can refer this video: https://youtu.be/ejJ-2oz4AgI