Introduction to Django REST Framework

  Recently, I need to use the dajngo REST framework toolkit for development in the projects I participated in. Almost all the projects I participated in before use the native django (in other words, I also use Flask occasionally, I really don’t like this framework), and I have listened to it before. I said how powerful this toolkit is, but due to being too busy (lan), (duo), I have not been able to study for certification. This time it is considered a temporary cramming.

 

Introduction to Django rest framework (purely copied from other blogs)

Django REST framework is a powerful and flexible toolkit for building Web APIs.

Some reasons you might want to use REST framework:

Chinese:

Django REST framework is a powerful and flexible toolkit for building web APIs.

Some reasons why we might want to use a REST framework:

  • Web browsing APIs are a huge usability for developers.
  • Authentication strategies include OAuth1a and OAuth2 packages.
  • Serialization of ORM and non-ORM data sources is supported.
  • If you don't need more powerful features, you can use regular feature-based views.
  • Extensive documentation and good community support.
  • Used and trusted by internationally renowned companies including Mozilla, Red Hat, Heroku and Eventbrite.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325094992&siteId=291194637