~/talk

Filling the Flask

Talkat PyOhio 2015 · 2015-08-01..08-02· [security]
links:none on file
slides:none on file

Shows a minimal Flask app that grows into a full stack: an app factory plus manage.py shell context to get a reusable REPL, models wired with Flask‑SQLAlchemy + Alembic migrations that generate and run DB upgrades, and user flows using Flask‑Login + Flask‑Principal with password hashing via Werkzeug. Adds WTForms validation, Flask‑Mail for sending RFC‑compliant messages, and an example cookie model and admin role; code is available as incrementally committed repo and the demo code runs end‑to‑end.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Some old man told me
  3. 1:36Flask Configuration
  4. 1:52Flask Import
  5. 2:28Config Deposit
  6. 2:52Config File
  7. 3:30Flask Grip
  8. 4:14Flask Shell
  9. 4:41Flask Shell with Context
  10. 6:10Database Excess
  11. 6:28Flask
  12. 7:31Config
  13. 7:44Model
  14. 8:51Creating a Database
  15. 10:03Creating a Cookie
  16. 10:52Flash Migration
  17. 12:08Migration
  18. 13:15User Authentication
  19. 13:33Last Login
  20. 14:13Login Manager
  21. 14:32Flash Blueprint
  22. 15:38User Model
  23. 16:53User Mixing
  24. 17:14Passwords
  25. 19:16Login
  26. 19:53Logout
  27. 20:36Login Template
  28. 20:54MainView
  29. 21:17Index
  30. 21:31Create Users Migration
  31. 22:03Run Server
  32. 22:38Login Page
  33. 24:00Forms
  34. 26:36Authorization
  35. 26:56Flash Principle
  36. 31:50Permissions
  37. 33:11Identity Loader
  38. 34:26Permission to Not
  39. 36:00Example
  40. 37:18Flash Security
  41. 39:41Flask React
  42. 40:58Tornado
~/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.