~/talk

Write an API for Almost Anything (or The Amazing Power and Flexibility of Django Rest Framework)

Talkat DjangoCon US 2017 · 2017-08-13..08-18· [django, web-platform]
slides:none on file

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

  1. 0:00Start
  2. 2:15Example: Customized Output
  3. 3:35Internal Separation
  4. 4:28Building an API
  5. 4:52Anatomy of Django Rest Framework
  6. 6:29Building the serializer
  7. 7:05Building the ViewSet
  8. 9:08Accessing the API
  9. 13:49Sample Test
~/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.