Skip to content

Entries published on March 4, 2019

1 entry published on this date. See also: all entries published in March 2019, full archive.

Contributing to classiness (in Django)

A couple weeks ago I ran a poll on Twitter asking people whether they’d ever used, or considered using, the contribute_to_class() method to write something that attaches to or hooks into a Django ORM model class, and if so what their thoughts were. There was also a “don’t know what that is” option, which won by a large margin, and I promised I’d provide an explanation.

Unfortunately, that was around the time I suffered a kitchen accident which left me without full use of my left hand for a bit. Full healing will take a little while longer, but it’s at …

Entry published March 4, 2019. Read full entry.