‹ Back to Blog

Django

How a Singleton Pattern Broke Our Django Logging

When wrapping resources in Singleton objects, understanding the lifecycle behavior of both the underlying resource and the calling code is key. Django loves to close logging handlers frequently during its boot cycle. Debugging log handlers is its own special kind of fun; read on for the schadenfreude.

Monitoring Django apps on Heroku

I don't know of an easier way to deploy a Django app than letting Heroku do the work. That said, how do you stay on top of your app's performance, errors, and stability post-launch? Running an app on Heroku is a blissful experience, but it presents some monitoring challenges that ...