~/talk

Class-based Views: Past, Present and Future

Talkat DjangoCon AU 2014 · on Friday, 2014-08-01· [python, frontend-architecture]
slides:none on file

Class-based views arrive in Django 1.3 as a replacement for function-based generics and land with real costs and benefits the commit turns one edit view function into nine classes so extension points exist but the learning curve is steep initial docs are poor and no formset support exists yet yet the model admin already shows the approach can work suggesting a path to API-driven UIs and a possible migration of admin into a class-based framework documentation has since improved

AI-written summary · about

  1. 0:00Start
  2. 0:58In the beginning...
  3. 2:15Key features
  4. 2:25Example: Before
  5. 8:00REFACTOR
  6. 9:13What went wrong?
  7. 12:19Class Based Views
  8. 13:42CB Generic Views
  9. 17:33Mixins
  10. 22:02Example: After CBGV
  11. 26:36Documentation
  12. 31:38Modern problems
  13. 35:16API-driven UI in Django
  14. 36:14django.contrib.admin
  15. 38:41Call to action
  16. 39:57Questions?
~/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.