Backend Apr 10, 2019

Building a custom model field from the ground up

Slides: http://slides.com/stranger6667/building-a-custom-model-field-from-the-ground-up#/

Extras:

Querying MoneyField

Implementing a field for Money

Historical notes on django-money project.

Here is an overview of the talk structure:

Often you need to map domain entities onto your application and store them in a database. Django provides you with a very extensible API that allows you to integrate domain entities with ORM seamlessly. This talk will walk through all essential steps in building a Money instances support for Django from the ground, based on real-life examples taken from django-money library.

A comprehensive guide on building custom models fields in Django. Including descriptors, lookups, expressions and many more.