Write an API for Almost Anything (or The Amazing Power and Flexibility of Django Rest Framework)
summary
Shows how to add a real API layer with concrete code: Django Rest framework model serializer, model view-set and router lines that map GET POST PUT PATCH DELETE to list and detail URLs, plus browsable API auth, read‑only or permissioned endpoints, and sample tests using DRF test case. Gives two applied examples — stripping client names from a schedule for a massage therapist and a game backend — and notes Factory Boy for fixtures and docs generation via DRF.
AI-written summary · about
chapters (9)
- 0:00Start
- 2:15Example: Customized Output
- 3:35Internal Separation
- 4:28Building an API
- 4:52Anatomy of Django Rest Framework
- 6:29Building the serializer
- 7:05Building the ViewSet
- 9:08Accessing the API
- 13:49Sample Test
related talks
21mBuilding Powerful APIs with Django, Django Rest Framework, and OpenAPI
26mDjango, REST and OpenAPI - a gentle introduction
27mWhat You Should Know About Django REST Framework
27mBuilding a REST API with Django & Django REST Framework
02h 54m🌐 Building Your First API with Django and Django Rest Framework
23mDjango REST API - So easy you can learn it in 25 minutes
26mWhat it's really like building RESTful APIs with Django
46mIntroducing Django REST framework
