How to customise API Root in Django REST Framework

Modify your projects settings.py ( helloproject/settings.py ) to know the BASE directory of the project You can … Read more

Why filters are required in Django REST Framework ?

We seen in our another post “Implementing filtering against query parameters for viewsets in DRF” , how … Read more

Implementing filtering against query parameters for viewsets in DRF

filters

This post is related to / in continuation with “Writing class based Views in Django REST Framework” … Read more

Solved: TypeError: object is not iterable

When we were writing the filters for the Django REST framework to get JSON objects based on … Read more

How to delete single and multiple objects in Django / DRF

This post is related to or in continuation with our previous post “Writing class based Views in … Read more

Writing class based Views in Django REST Framework

This post is in continuation with our previous post “Developing REST API using functions in DRF application … Read more

Solved: __init__() takes 1 positional argument but 2 were given

As we have seen previously, Django Rest Framework supports writing of views in two ways, 1. Function … Read more