Dmitry Dygalo

1 video · 1 event · 2019 · 26 min of video

Talk

0:26:24

Building a custom model field from the ground up

DjangoCon Europe 2019 · April 21, 2019

Dmitry Dygalo explains how to build a Django custom model field by mapping a domain object such as money—an amount plus a currency—to database values and back again. He compares storing composite values in multiple columns with PostgreSQL structured types, and shows how descriptors, `from_db_value()`,…

Spoken at