ViewSets in Django Rest Framework and Types #10

  Рет қаралды 10,243

IamPython

IamPython

3 жыл бұрын

ViewSets are merge the logic for all related views in a single class. ViewSets are very simplest form of Class Based API views. Easy to Implement. There are different types of ViewSets.
1. ViewSet
2. GenericViewSet
3. ModelViewSet
4. ReadonlyModelViewSet
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-rest-framework.org
🎥 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/iampythoner​​​​
#pythonapi #django #djangorestframework

Пікірлер: 33
@fkamss
@fkamss 2 жыл бұрын
I watched the entire series, it is a gem for Django rest framework API developer, Thank you very much for your time and effort.
@IamPython
@IamPython 2 жыл бұрын
Thank you for your comment. It means a lot :)
@anandraj2895
@anandraj2895 3 жыл бұрын
Need more videos ... Loved of watching
@oruchkin
@oruchkin 2 жыл бұрын
Very good thanks!
@sabarishni
@sabarishni Жыл бұрын
The best explanation ever on youtube so far! Thank you very much sir.
@IamPython
@IamPython Жыл бұрын
Thank you for your appreciation. It means a lot :)
@shaikbyte
@shaikbyte 3 жыл бұрын
your explanation always rock
@IamPython
@IamPython 3 жыл бұрын
Thank you
@shitalkurdane4166
@shitalkurdane4166 Жыл бұрын
Thank you for making this easy and chart based explanation.... Keep going...and please make separate playlists of your django rest-framework videos.
@IamPython
@IamPython Жыл бұрын
Thanks for feedback and encouragement! Will do more content in year 2023
@chekrasena
@chekrasena 3 жыл бұрын
Nice Sir
@IamPython
@IamPython 3 жыл бұрын
Thanks and welcome
@anandraj2895
@anandraj2895 3 жыл бұрын
Nice video ..keep rocking
@IamPython
@IamPython 3 жыл бұрын
Thank you, I will
@AshisRaj
@AshisRaj 2 ай бұрын
wonderful work Mr. Author
@IamPython
@IamPython 2 ай бұрын
Thank you for your word!
@amrit_upreti
@amrit_upreti 2 жыл бұрын
Really great man, thanks a lot for this much effort. Full support to you now onwards. Keep making education video on python and django. Love from Nepal
@IamPython
@IamPython 2 жыл бұрын
Thanks a ton! This really motivates me a lot. Will be back with new playlist.
@sudarshannbhat6046
@sudarshannbhat6046 Жыл бұрын
your way of teaching is good keep it up
@IamPython
@IamPython Жыл бұрын
Thank you for your words 😊
@MallikaSrivastava-ei9nz
@MallikaSrivastava-ei9nz Жыл бұрын
Can you please share the git repo/codebase. It is easier to compare or look up how these views differ in terms of code lines.
@PrAsHaNtHdUke1093
@PrAsHaNtHdUke1093 3 жыл бұрын
thanks a lot bro..upload more videos...........
@IamPython
@IamPython 3 жыл бұрын
You are welcome :) Will upload soon. Thanks for your comment
@harshitv261
@harshitv261 3 жыл бұрын
Nice explanation ❤️❤️❤️❤️
@IamPython
@IamPython 3 жыл бұрын
Glad you liked it! Thank you for your comment :)
@anandraj2895
@anandraj2895 3 жыл бұрын
Need more videos
@fkamss
@fkamss 2 жыл бұрын
We have a single ViewSet for all 4 API endpoints, How do I debug a single API (put or delete) in postman? I didn't find any good Django debug tutorial, please help me.
@fredlawrence2320
@fredlawrence2320 2 жыл бұрын
Perhaps try using a ViewSet per endpoint ?
@dipuometuel6806
@dipuometuel6806 Жыл бұрын
Still gives me an error
@kenafriq
@kenafriq 2 жыл бұрын
Good vide brother. could you kindly explain about django's custom user extension
@IamPython
@IamPython 2 жыл бұрын
Thank you for your comment! Will do soon!
@tabmax22
@tabmax22 Жыл бұрын
source code?
@IamPython
@IamPython Жыл бұрын
@axiomatic22 - Github link for DRF tutorials : github.com/iampython-team/DjangoRestFramework
Routers and Pagination in Django Rest Framework
14:20
IamPython
Рет қаралды 2,1 М.
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 23 МЛН
STOP Using Classes In JavaScript | Prime Reacts
14:02
ThePrimeTime
Рет қаралды 227 М.
Django REST Framework Generic Views
34:22
Bryan Brkic
Рет қаралды 1,7 М.
Django Mixins CRUD Operations in Rest Framework
26:45
IamPython
Рет қаралды 4,6 М.
Using Viewsets And Routers | Learn Django REST Framework #6
14:19
Ssali Jonathan
Рет қаралды 3,7 М.
Understanding Django Generic Views
16:29
Chuck Severance
Рет қаралды 12 М.
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 382 М.
Token Authentication in Django Rest Framework
19:49
IamPython
Рет қаралды 2,2 М.
Python 3.12 Generic Types Explained
18:27
ArjanCodes
Рет қаралды 59 М.
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 955 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 661 М.
САМЫЙ ДОРОГОЙ ЧЕХОЛ! В стиле Mac Pro
0:35
Romancev768
Рет қаралды 100 М.