DRF causes serialization of data and converts it to JSON, making it an
efficient way to communicate with your frontend. An API allows you to
build a common core that can be used on multiple platforms like websites,
mobile applications, plugins, and so on.
You can build an API with pure Django too.
Like Shishir says it's not using DRF instead of django, It's DRF on top of
django.
The main reason for using DRF instead of using django by itself is that you
get an enormous consistency. Serialization is really simple, you get
validation on all fields with valid JSON results. You get all of the s
Its not that use drf "over" django. Its like you use drf "with" django.
Whenever you want to create rest api, django rest framework is the library
created to do that more usually. Django on the other end is a framework to
create web application. There is never the case when you are using drf and
no
Apart from Rest API & serializer why I should use DRF over Django Because
We could write what we want in Django & I want to know the advantage of
using DRF over Django
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this gr
4 matches
Mail list logo