Рет қаралды 2,352
In this video, we are discussing Class-based views in Django Rest Framework. Serializing all the products from the database by extending APIView class and using the get method. We can also display specific products (Detailed View) using get with parameters through Django URL.
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...
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