The Wake: 1997-2017

Retiring a 20 year old website

In 1997 I started a website to learn HTML. It felt like I was kind of late to the party. Mosaic had already come and gone. Internet Explorer was the next big thing. I remember thinking about a subject for my website. I was an avid reader of Neil Gaiman’s Sandman comics, and since these were quite popular online, I decided to make that my subject. The site went through some design iterations and internet addresses, before finding a permanent address: dyve. [Read More]

A Brand New Blog

Powered by Hugo, GitHub and Travis CI

After the demise of Posterous in 2013, I moved my blog to Tumblr and mostly forgot about it. I didn’t feel like investing time and energy in yet another platform that could be acquired and shut down. Also, Tumblr never felt right for what I wanted to do. The past few years I have been playing with static site generators like Nikola. I liked their ideas and simplicity. A while ago I found the best static site generator I’d ever seen. [Read More]

ModelAdmin for a custom Django User model

Automatically generate a section for extra fields

Django offers a customized User model. One of the preferred approaches to a custom User is to extend AbstractUser. When doing this there is a nice trick to get all the fields you add to AbstractUser in a separate section in the admin interface. The method is to scan the parent for known fields, and add the fields that do not exist in the parent to a separate section. A full example is in the code below. [Read More]