DJANGO REST IN 10 MINUTES - Django REST API Tutorial

Опубликовано: 22 Март 2026
на канале: All Code Joker
96
6

In this tutorial, we will create a complete REST API in ten minutes with Django and Python.

Get free access to my every month tips, tutorials, and resources, to improve your coding skills here: https://allcodejoker.pythonanywhere.com

We'll create Dog model class to store name and ages of those dogs.

We'll also serialize that Dog class in serializers.py to convert that complex data types, like Dog Django model instances, into JSON format.

And at the end we will test REST API CRUD on prebuild Django REST framework UI.

#django #djangobeginners #djangotutorials #djangodjango #djangoproject #allcodejoker

All Code Joker GitHub: https://github.com/allcodejoker

Timecodes

0:00​​ - Introduction
0:25 - Pip Install djangorestframework
0:45 - Add rest_framework In INSTALLED_APPS In settings.py
1:00 - Push Migrations
1:20 - Create Dog Database Model
2:00 - Make And Push Migrations
2:20 - Create serializers.py
4:30 - Create And Read All Dog Model Instances
6:35 - Create Url To Create And View All Dog Model Instances In API
7:00 - Test To Create And Read All Dog Model Instances
8:15 - Read, Update And Delete One Dog Model Instance
9:35 - Create Url To View, Update And Delete One Dog Model Instance In API
10:00 - Test To Create And Read One Dog Model Instance
11:10 - Conclusion