# Topic covered
* ViewSets
* viewsets.ViewSet
* viewsets.ModelViewSet
* ReadOnlyModelViewSet
* GenericViewSet
* Routers
* SimpleRoute
* DefaultRouter
* Trade-offs between views vs viewsets
[Read More]
5. DRF Class-based Views
APIview, Mixins, Generic - Class Based Views
# Topic covered
* Class-based Views
* APIview
* Mixins class based views
* Generic class based views
[Read More]
4. DRF Function based View
Requests and Responses, Function based View
# Topic covered
* Request Object
* Response Object
* DRF provides two wrappers to write API views
* Function based views - @api_view
* Class based views - APIView
* Function based views - @api_view
[Read More]
3. DRF Serialization
Serializer and Model Serializer
# Topic covered
* Serialization
* Serializer
* ModelSerializer
* Regular Django views
* List View, Detail View
* Customize the serialization behavior
[Read More]
2. Rest Framework
Django Rest Framework
# Topic covered
* REST API
* REST Architectural Constraints
* Methods of REST API
[Read More]
1. API and it's types
SOAP, RPC, Websocket, REST
# Topic covered
* API
* Why would we need an API?
* Types of APIs based on scope of use
* Types of APIs based on architecture
* WEB API
* What Is GraphQL? REST vs. GraphQL
[Read More]
04-Models
Django default User Model, Custom User Model
# Topic covered
* Django default User Model
* Custom User Model
* AbstractUser vs AbstractBaseUser
* Validating objects
* full_clean()
* Model.clean_fields()
* Model.clean()
* Model.validate_unique()
[Read More]
03-Django ORM Optimization
Django ORM Optimization
# Topic covered
* Django Debugger
* @query_debugger
* Django Debug Toolbar
* django-extensions
* Django Query optimization
[Read More]
02-Django ORM Relationship
Django ORM Relationship
# Topic covered
* Relationship
* OneToOne
* ManyToOne
* ManyToMany
* related_name
* related_query_name
[Read More]
01-Django ORM Introduction
Django ORM Introduction
# Topic covered
* Intro to Django ORM
* General/Basic Queries
* Field lookups
* Set Operations
* F() Expression
* Aggregation
* Django Annotations
[Read More]