Building APIs With The Django REST Framework
The tutorial demonstrates how to use Python and Django REST framework in PyCharm to develop APIs.
This Django REST framework tutorial focuses on creating a rental platform API using Python and Django REST framework in PyCharm. The tutorial covers various topics, including creating serializers, writing concise and idiomatic views, testing APIs, setting up authentication and permissions, and implementing generic class-based views. By the time you complete the tutorial, you will be able to answer the following questions:
- What are Django REST framework serializers and how do I create them out of Django models?
- How do I write concise and idiomatic views with the help of Django REST framework?
- How do I test APIs by using PyCharm’s Endpoints tool window and the built-in HTTP Client?
- What is the browsable API?
- How do I set up authentication and permissions for an API?