filmov
tv
ViewSets in Django Rest Framework and Types #10
Показать описание
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
♂ Django Rest Framework Tutorial -Installation and Setup -Chapter 2
♂ Django Rest Framework Tutorial -Serializers -Chapter 3
♂Django Rest Framework Tutorial -How to Serialize the Data without Model ?-Chapter 4
♂Types of Views in Django Rest Framework -Chapter 5
♂Class Based Views in Django Rest API- Chapter 6
♂APIView CRUD Operatons Django Rest Framework Chapter7
♂Django Mixins CRUD Operations in Rest Framework Chapter8
♂Django Generic Views CRUD Operations in Rest Framework 9
Official website :
🎥 Django Tutorial - Health Insurance Claim Project
🎤 Good Tech Talks Playlist
◉ Watch other AI videos
♂DataScience Dialogue - Open Source GPU DataScience #1
♂DataScience Dialogue - AutoML and DataRobot Demo #2
♂DataScience Dialogue - Machine Learning & NLP Best Practices #3
📱Please join in 🎭 Our Social Networking platforms🎭 for quick updates
————————————————-
#pythonapi #django #djangorestframework
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
♂ Django Rest Framework Tutorial -Installation and Setup -Chapter 2
♂ Django Rest Framework Tutorial -Serializers -Chapter 3
♂Django Rest Framework Tutorial -How to Serialize the Data without Model ?-Chapter 4
♂Types of Views in Django Rest Framework -Chapter 5
♂Class Based Views in Django Rest API- Chapter 6
♂APIView CRUD Operatons Django Rest Framework Chapter7
♂Django Mixins CRUD Operations in Rest Framework Chapter8
♂Django Generic Views CRUD Operations in Rest Framework 9
Official website :
🎥 Django Tutorial - Health Insurance Claim Project
🎤 Good Tech Talks Playlist
◉ Watch other AI videos
♂DataScience Dialogue - Open Source GPU DataScience #1
♂DataScience Dialogue - AutoML and DataRobot Demo #2
♂DataScience Dialogue - Machine Learning & NLP Best Practices #3
📱Please join in 🎭 Our Social Networking platforms🎭 for quick updates
————————————————-
#pythonapi #django #djangorestframework
Комментарии