~/talk

Building Powerful APIs with Django, Django Rest Framework, and OpenAPI

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [django, web-platform]
slides:none on file

Shows a working Django + Django REST Framework API with a Dockerized demo repository and automated REST tests. Implements a CRUD treasures endpoint (example POST creates "Drew sweater" price $566), uses DRF generics and viewsets, built-in pagination and filtering, token/TFA style authentication, and OpenAPI-generated docs. Covers caching strategies (time-based, event-driven, lazy/cash-aside), conditional requests with ETags/304, rate-limited API keys, and a public repo reachable via QR for the exact code shown.

AI-written summary · about

  1. 0:00Introduction
  2. 2:52API requests and responses
  3. 3:33HTTP status codes
  4. 4:38Design APIs first
  5. 6:27HTTP request methods
  6. 7:51REST APIs and OpenAPI
  7. 8:14Why DRF chosen
  8. 9:19Generics vs ViewSets
  9. 10:26Live API demo
  10. 11:58Introduction to caching in APIs
  11. 13:03Fresh cached data
  12. 15:30Caching benefits
  13. 16:53Caching methods
  14. 17:40Security factors for APIs
  15. 19:47Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.