~/talk

Hunting for Treasure in Django

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

Finds and demonstrates concrete utilities not broad concepts: cached_property stores a computed value on the instance so a heavy API call or aggregated queryset becomes one real computation when you list() it first time, import_string turns a dotted path into an actual callable or class and raises ImportError if wrong so configurable hooks validate, lazy and LazyObject defer instantiation enabling per-user S3 storage until first access, and RequestFactory builds real Django Request objects to unit test middleware and view logic without full client overhead

AI-written summary · about

  1. 0:00Intro
  2. 0:19SEBASTIAN VETTER
  3. 0:58LET'S FIND SOME TREASURE
  4. 1:09AWESOME DJANGO FEATURES
  5. 1:22HIDDEN TREASURES
  6. 2:02WHERE YOU FIND THEM
  7. 3:41WHAT IT DOES
  8. 3:56WHAT IT LOOKS LIKE
  9. 4:34IMAGINE A COLOR API
  10. 5:02HERE'S THE PROBLEM
  11. 5:57USING THE CACHED PROPERTY
  12. 7:21TREASURE FOUND
  13. 8:42IMAGINE A WEB STORE
  14. 12:47IMAGINE PER-USER STORAGE
  15. 13:37lazy TO THE RESCUE
  16. 15:05Request Factory
  17. 17:06IMAGINE A MIDDLEWARE
  18. 18:45THE TREASURE ALL YOURS
  19. 19:42ANY QUESTIONS?
~/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.