Django port of https://coffeestats.org/ code