Django
Part of Tutorials
Articles in Django
Read the latest articles published in this section.
Authentication in DRF
This tutorial introduces authentication in Django REST Framework, explaining how to identify users in API requests using methods like session and basic authentication. It covers how authentication works with request.user, how to configure it globall…
ViewSets and Routers in DRF
This tutorial explains how to use ViewSets and routers in Django REST Framework to simplify API development. It shows how to group CRUD operations into a single class and automatically generate URL routes, helping you build cleaner, more scalable, a…
CRUD API with Django REST Framework
This tutorial explains how to build a complete CRUD (Create, Read, Update, Delete) API using Django REST Framework. It covers generic views, serializers, and URL routing to manage data efficiently, helping you create fully functional and scalable AP…
Building Your First API with DRF
This tutorial guides you through building your first API using Django REST Framework, covering models, serializers, API views, and URL routing. You’ll learn how to handle GET and POST requests, validate data, and return structured JSON responses, gi…
Introduction to Django REST Framework
This tutorial introduces Django REST Framework (DRF), explaining how to build powerful and structured APIs on top of Django. It covers core concepts like serializers, API views, request/response handling, authentication, and the browsable API, helpi…