Tag: code

Blog
Blog

Django MultiRangeField and MultiRangeFormField

I’m building a website, and needed a way to save a list of pages and page ranges from a book or magazine. I wanted to to be a little more strict than just saving it as a string without any cleanup or validation, so I wrote a custom Django model field (and accompanying form field).

FeedPress Subscribers for Panic Status Board

Since the launch of my new podcast, I’ve been trying to keep track of stats on podcast downloads and subscribers. FeedPress has been my feed tracker of choice recently, and seems to work very smoothly (even if they only update stats once a day). I’m also a big fan of Panic’s Status Board iPad app