how to download and install Django rest framework

0 votes
I am new to python’s framework Django. I am facing difficulties in installing Django rest framework. Can anyone please write the proper steps with an explanation? Thanks.
Apr 24, 2018 in Python by anto.trigg4
• 3,440 points
1,969 views

1 answer to this question.

0 votes

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

answered Apr 24, 2018 by Christine
• 15,790 points

Related Questions In Python

0 votes
1 answer

How to secure APIs for Registration and Login in Django Rest Framework?

Hello @kartik, you cannot have an authentication system ...READ MORE

answered Jun 25, 2020 in Python by Niroj
• 82,840 points
2,879 views
0 votes
1 answer
0 votes
1 answer

How to return the current user with Django Rest Framework?

Hello @kartik, The best way is to use ...READ MORE

answered Jun 25, 2020 in Python by Niroj
• 82,840 points
12,036 views
0 votes
1 answer

How to return custom JSON in Django REST Framework?

Hello @kartik, There are 2 ways to custom ...READ MORE

answered Jun 25, 2020 in Python by Niroj
• 82,840 points
11,162 views
0 votes
1 answer

How to PATCH a single field using Django Rest Framework?

Hello @kartik, Serializers allow partial updates by specifying partial=True when initializing ...READ MORE

answered Jun 25, 2020 in Python by Niroj
• 82,840 points
15,393 views
0 votes
1 answer
0 votes
1 answer

Host not allowed

Go to your project directory cd project cd project ALLOWED_HOSTS ...READ MORE

answered Aug 9, 2018 in AWS by Priyaj
• 58,020 points
1,742 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP