~/talk

Dynamic models without dynamic models

Talkat DjangoCon Europe 2025 · 2025-04-23..04-27· [django]
links:none on file
slides:none on file

Work on the Arches framework produces a custom QuerySet that implements a with_attributes entry point to materialize schema-driven fields from an EAV/JSON-backed store, annotating instances so they can be mutated and saved back without generating SQL views or new tables. The solution overrides private hooks like _clone and _fetch_all to preserve schema metadata, generates DRF serializers on the fly using type, and succeeds in reducing ad hoc un/transformation across projects.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02About the Arches project
  3. 3:50Why dynamic models?
  4. 7:24EAV database challenges
  5. 10:53Precedents in Django
  6. 13:21Goals and alternatives
  7. 17:38Custom query set solution
  8. 23:20DRF integration
  9. 25:04Recursive CTEs in Django
  10. 26:08Complexity reduction
  11. 26:28Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.