Рет қаралды 10,243
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