Session

Customizing REST endpoint behaviour for different user roles with DRF

Creating REST Endpoints with DRF is pretty straightforward. But customizing the behavior of those endpoints is a bit tricky. In this workshop, I will share how we can:

1. Restrict specific endpoints for certain user roles/types.
2. Customize the request body based on the user roles/types.
3. Customize the response based on the user roles/types.
4. Put object-level permissions; for example, only the blog author and the admin can update a blog.

In this workshop, I will show how we can customize the request body and the response based on the user role in the DRF-based REST Endpoints.

Kuldeep Pisda

Founder PeekLink, Cofounder and CTO CognifAI

Bengaluru, India

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top