Skip to content

Tag Archives: Django-REST

In this article, we will create class-based views and combine this with the serializer class to return JSON representation for each HTTP request. For our… Read More
In this chapter, we will create Django API views for HTTP requests and will discuss how Django and Django REST framework process each HTTP request. … Read More
Imagine you have huge amount of details in your database. Do you think that it is wise to retrieve all at once while making an… Read More
The browsable API feature in the Django REST framework generates HTML output for different resources. It facilitates interaction with RESTful web service through any web… Read More
Prerequisite – https://www.geeksforgeeks.org/how-to-create-an-app-in-django/ Writing documentation can be pretty daunting for developers and to be honest, nobody likes writing long explanations, I personally don’t but as… Read More
Class-based views help in composing reusable bits of behavior. Django REST Framework provides several pre-built views that allow us to reuse common functionality and keep… Read More
Serialization is one of the most important concepts in RESTful Webservices.  It facilitates the conversion of complex data (such as model instances) to native Python… Read More
Django REST Framework allows us to work with regular Django views. It facilitates processing the HTTP requests and providing appropriate HTTP responses. In this section,… Read More
Every new Django project should use a custom user model. The official Django documentation says it is “highly recommended” but I’ll go a step further and say… Read More
Serializers in Django REST Framework are responsible for converting objects into data types understandable by javascript and front-end frameworks. Serializers also provide deserialization, allowing parsed… Read More
Serializer comes with some fields (entries) that process data in and out of the serializer in Django REST Framework. The very motive of Serializing is… Read More
In Django REST Framework the very concept of Serializing is to convert DB data to a datatype that can be used by javascript. Every serializer… Read More
In Django REST Framework the very concept of Serializing is to convert DB data to a datatype that can be used by javascript. Serializers allow… Read More
In Django REST Framework the very concept of Serializing is to convert DB data to a datatype that can be used by javascript. Every serializer… Read More
In Django REST Framework the very concept of Serializing is to convert DB data to a datatype that can be used by javascript. Every serializer… Read More