~/talk

Django Views: Functions, Classes, and Generics

Talkat DjangoCon US 2015 · 2015-09-06..09-11· [django]
slides:none on file

Explains how HTTP methods map to Django views with concrete code: shows code converting function to class and handling get post head options, demonstrates decorator_plus and the require-style shortcuts so function views get the same method handling as class views, links to GitHub and an IPython notebook and demos using tnet. Covers history, when generic class-based views save work, when shared behavior favors object views, and what actually changes when a view is extended.

AI-written summary · about

  1. 0:00Introduction
  2. 2:39Python callables
  3. 4:28HTTP basics
  4. 6:49Django views overview
  5. 9:46Views and HTTP
  6. 11:42History of views
  7. 16:19Function-based views
  8. 21:23Class-based views
  9. 25:23Generic class-based views
  10. 28:31Tools and resources
  11. 31:55Q&A and conclusion
~/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.