~/talk

Class-based Views: Past, Present and Future

Talkat DjangoCon US 2014 · 2014-08-30..09-06· [python]
slides:none on file

Django 1.3 introduces class-based views as a lightweight class wrapper providing method-based HTTP verb dispatch (get/post/options/head) and class-based generic views as composable mix-ins for common patterns (single-object, form handling, template/JSON responses). This gives reusable extension points and cleaner injection of pre/post-save logic, but the generic mix-in graph is complex—dubbed the ravioli problem—and initial documentation is poor. Work items: pick canonical decorator/mixin patterns, improve docs, and explore richer, API-first UI generic views (admin-style class architectures or separate packages).

AI-written summary · about

  1. 0:00Start
  2. 2:24Generic Views
  3. 6:19Configuration Options
  4. 14:00Automatic Naive Head Request Handling
  5. 15:30Class-Based Generic Views
  6. 17:40Problem Three Ravioli
  7. 25:25Permissions
  8. 26:42Permission Checking
  9. 32:07Api Driven User Interface
  10. 33:42Api Driven User Interfaces
  11. 36:50Call to Action
~/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.