Routers and Pagination in Django Rest Framework

  Рет қаралды 2,333

IamPython

IamPython

Күн бұрын

Lets discuss Routers and and Pagination in Django. Routers are automatically creates the URLS for ViewSets after registering them. Pagination is required when you have large list of data shown in different pages instead of single page.
Type of Routers
SimpleRouter
DefaultRouter
Types of Pagination
BasePagination
LimitOffsetPagination
CursorPagination
PageNumberPagination
Types of Views
1. Function Based Views - @api_view([‘GET', 'POST'])
2. Class Based - class ClassName(APIView):
3. Generic Views - class ClassName(generics.ListCreateAPIView):
4. ViewSets - class UserViewSet(viewsets.ViewSet):
5. Mixins
✺ Previous Django Rest framework Videos :
♂ Django Rest Framework - Introduction Video - Chapter 1
• Python REST API - Djan...
♂ Django Rest Framework Tutorial -Installation and Setup -Chapter 2
• Installing Django Rest...
♂ Django Rest Framework Tutorial -Serializers -Chapter 3
• Create Serializers in ...
♂Django Rest Framework Tutorial -How to Serialize the Data without Model ?-Chapter 4
• Serialize Data without...
♂Types of Views in Django Rest Framework -Chapter 5
• Views in Django Rest F...
♂Class Based Views in Django Rest API- Chapter 6
• Class Based Views in D...
♂APIView CRUD Operatons Django Rest Framework Chapter7
• APIView CRUD Operatons...
♂Django Mixins CRUD Operations in Rest Framework Chapter8
• Django Mixins CRUD Ope...
♂Django Generic Views CRUD Operations in Rest Framework 9
• Django Generic Views C...
Official website :
www.django-res...
🎥 Django Tutorial - Health Insurance Claim Project
• Django Tutorial - Buil...
🎤 Good Tech Talks Playlist
• My Tech Talk
◉ Watch other AI videos
♂DataScience Dialogue - Open Source GPU DataScience #1
• Open Source Accelerate... ​​
♂DataScience Dialogue - AutoML and DataRobot Demo #2
• DataRobot For AutoML ... ​​
♂DataScience Dialogue - Machine Learning & NLP Best Practices #3
• Best Practices of Mach...
📱Please join in 🎭 Our Social Networking platforms🎭 for quick updates
-----------------
🎣 Facebook : / ​​​​
🎣 Instagram : / ​​​​
🎣 Twitter: / ​​​​
🎣 LinkedIn : / iamp​​​​. .
🎣 Telegram : t.me/iampython...
#pythonapi #django #djangorestframework

Пікірлер: 12
@shitalkurdane4166
@shitalkurdane4166 Жыл бұрын
Very clean and easy way explanation..thank you..
@IamPython
@IamPython Жыл бұрын
Thank you for leaving comment!
@pradeepaparameshwaran7445
@pradeepaparameshwaran7445 3 жыл бұрын
Simply awesome
@IamPython
@IamPython 3 жыл бұрын
Thank you 😊
@anandraj2895
@anandraj2895 3 жыл бұрын
please dont stop .. keep posting more videos :)
@oruchkin
@oruchkin 3 жыл бұрын
i agree
@oruchkin
@oruchkin 3 жыл бұрын
Very good thanks!
@IamPython
@IamPython 3 жыл бұрын
Thank you too!
@harshitv261
@harshitv261 3 жыл бұрын
Good one sir keep going ❤️
@IamPython
@IamPython 3 жыл бұрын
Thank you, I will
@anandraj2895
@anandraj2895 3 жыл бұрын
Need video on custom user model
@anandraj2895
@anandraj2895 3 жыл бұрын
Good ..nice ... Please make a video on token authentication in django rest framework
Authentications in Django Rest Framework
14:02
IamPython
Рет қаралды 2,2 М.
ViewSets in Django Rest Framework and Types #10
13:26
IamPython
Рет қаралды 11 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 31 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 123 МЛН
Django Rest Framework API #31 / Improve API Response Using Pagination
7:04
Token Authentication in Django Rest Framework
19:49
IamPython
Рет қаралды 2,5 М.
Django ORM Primer - Django QuerySet API and QuerySets
15:07
Very Academy
Рет қаралды 9 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 478 М.
Commands or Events: Which one for Workflow?
10:05
CodeOpinion
Рет қаралды 6 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 63 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 31 МЛН