Is it important to use Django rest framework to make websites for hosting it online rather than only using Django? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it important to use Django rest framework to make websites for hosting it online rather than only using Django?

30th Jan 2020, 3:16 PM
Deepraj Baidya
Deepraj Baidya - avatar
4 Answers
+ 4
It depends on what your website is supposed to do. Rest API is a tool for programs and applications to communicate with each other. If you are only building a user-facing website, and don't want to expose a public API then you don't need the Rest framework.
31st Jan 2020, 5:07 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Tibor Santa Thanks, I got my answer
31st Jan 2020, 5:11 AM
Deepraj Baidya
Deepraj Baidya - avatar
0
do you mean using django server..
30th Jan 2020, 3:30 PM
Abhay Singh
Abhay Singh - avatar
0
Abhay Singh Not Django server. I meant should I use django REST framework or only django for making websites?
31st Jan 2020, 4:37 AM
Deepraj Baidya
Deepraj Baidya - avatar