Complete Django Rest Framework Course (DRF)

Django Rest Framework copy
Uncategorized

Complete Django Rest Framework Course (DRF)

Django Rest Framework Course (DRF)

In this article, we are introducing a new Django REST Framework Course (DRF). There are different courses, we will introduce here for beginners students. You can learn DRF after learning Django because when you have a good experience with Django, developing different projects like blog type, social, etc then come to learn DRF. So, this course contains complete notes for Django REST Framework, after learning this complete course you will be able to work with creating, managing, Rest API.

Django VS Django Rest Framework

Django is the python based web framework in which we build a website or web applications from static type to dynamic or complex type. You can install Django in your system using pip as:

pip install django

In Django, you can create complex types of websites like e-commerce, social networks, news website, etc. It is the famous and most used Python web framework in the field of web development.

But Django Rest Framework is the Python library that is used to build Rest APIs. API is the applicaiotn programm interface. It provides a just interface of the application, then we can use the functionality of that website, for example, we can use google map API in our website.

We can retrieve cricket live scores, weather information, countries information, etc. We can build an API for our website and can define different permissions and authorization.

What we can do with DRF (Django Rest Framework)

Actually, API is the application program interface, we can use the functionality of another website or application through its API. For example, we can use Google Maps API to work with maps in our project. We can get product information from online shopping websites etc. To do that, we have to build an API for applications or websites if you want to allow the user to view product information, map, live score, etc. You cannot only allow to user to view but a user can perform CRUD operation applicaiton using your website API provided by you (website API owner).
When you develop an API for a website, then other platform applications will be able to use your API to retrieve, update or delete data. Don’t worry, no one can delete or update data using your API, because it depends upon the permission you provide to the user. If you provide permission to the authenticated users to delete or update then they will be able to do that.
How a user will get your website API and how a user will understand how to use the API you are providing? It depends upon your mechanism and methods, most of the time, users create an account on your website in order to get API. When the user visits its dashboard, then the user will be given an API with instructions on how to use it.

Outline for Complete Django Rest Framework Course

  • What is API (Applicaiton Program Interface)
  • What is Web API
  • What is REST, Browserable API, and Restful API
  • What is REST API
  • Introduction to Django REST Framework (DRF)
  • Django REST framework
  • Requirements
  • Installation
  • API Example
  • Serializer and Serialization
  • Serializer Fields
  • Serializer  Arguments
  • Serialization
  • Creating Django Project with API (Project)
  • Validation
  • Model Serializer
  • Serializer Relations
  • Function-Based API view
  • Class-Based API view
  • Generic API View and Mixins
  • Concrete Generic View
  • Requests and Responses
  • Request objects
  • Response objects
  • Status codes
  • ViewSet (GenericViewSet, ModelViewSet, ReadOnlyModelViewSet)
  • Basic Authentication and Permission
  • Token Authentication and Permission
  • Custom Authentication
  • JWT(JSON Web Token)
  • Throttling (AnonRateThrottle, UserRateThrottle, ScopedRateThrottle, Custom throttles)
  • Filtering
  • Pagination
  • Hyperlinked Model Serializer

Now! what you have to do?

As you have understood outlines and basic information about the “Django Rest Framework Course”, now you must follow instructions as discussed in this article. In case of any issues or problems, don’t worry, you can discuss them with us.

On other hand, If you have any suggestions or knowledge about this article, you can share it with us, we will appreciate you!

If this article is good then share it on Facebook, Twitter, Pinterest, Instagram, etc.

Advanced Tutorials for Beginners

Complete Udemy Python Mega Course | 0 To Hero

Why Django Framework is liked by Beginners?

Build a Django CRUD Application | Django Tutorials

What is Artificial Intelligence in Computer | AI Tutorials

Leave your thought here

Your email address will not be published. Required fields are marked *

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare

Get your Enrollment

50%OFF

Leave your details below and receive a discount coupon in your inbox