~/talk

Django as a Database Documentation Tool: The Hidden Power... with Ryan Cheley

Talkat DjangoCon US 2025 · on Monday, 2025-09-08· [django, databases]
slides:none on file

Introduces Django 4.2 features that write model DB comment and DB table comment into Postgres via migrations so documentation lives in the schema; demonstrates CHA2DS2‑VASC score (0–9, >2 → anticoagulation consideration per 2010 ESC), JSON keys warn_allergy bleeding_disorder pregnancy_status as booleans, and shows Redgate extracting comments into HTML. Recommends auditing top 10 confusing fields, adding business logic and regulatory notes, and optionally enforcing comments with linters or tests.

AI-written summary · about

  1. 0:00Django as DB documentation
  2. 1:47Undocumented fields risks
  3. 4:20Database docs pain points
  4. 6:50Why help text fails
  5. 9:38Stakeholders' needs
  6. 10:19Django 4.2 DB comments
  7. 11:44DB comments with migrations
  8. 12:48Self-documenting models
  9. 14:13JSON fields for ETL
  10. 15:36Table-level comments
  11. 17:01Implement DB docs steps
  12. 19:29Conclusion & benefits
  13. 19:53Q&A: Enforcing DB comments
  14. 20:38Q&A: Help text vs DB comments
  15. 21:40Q&A: Generated docs with DB comments
  16. 22:21Q&A: Documenting choice fields
~/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.