1.

What is DRF or Django Rest Framework?

Answer»

“Django REST framework is a powerful and flexible toolkit used for building Web APIs”. Django REST Framework application easily a REST API into existing Django functionality and ALLOWS you to list all your API endpoints that inherit from Django REST Framework automatically. Django REST Framework is very easy to build model-backed APIs that have authentication policies and are browsable.

The purpose of the Django REST Framework is to work out of the box and it should take the minimum to INSTALL it. The REST framework is a funded PROJECT

Some of the reasons why you should use the REST framework are :

  • For DEVELOPERS, the Web browsable API is huge usability.
  • Authentication policies including packages for OAuth1a and OAuth2.
  • Serialization for both ORM and non-ORM data sources.
  • Customizable - just use regular function-based views.
  • Extensive documentation, along with great COMMUNITY support.
  • Used and trusted by internationally recognized companies.

Below is the REST framework requirement-

  • Python  - 3.5, 3.6, 3.7
  • Django  - 1.11, 2.0, 2.1, 2.2


Discussion

No Comment Found