Ned Batchelder

Blog · Code · Text · Site

Global Django requests

posted 28 August

As my Django sites get larger and larger, there inevitably comes a point where I want access to the current request from deep inside some function that doesn't have the request object. The latest reason was that I wanted a model class helper to have access to the session so it could access some debug flags. » more..

Coverage.py v3.4 beta 1

posted 21 August

Coverage.py v3.4 beta 1 is available now. 3.4 brings improved source code specification. » more..

Entrepreneurship

posted 17 August

After posting Alain De Botton's quote about meaningful work, I read his book The Joys and Sorrows of Work. It was an interesting read, but ultimately a bit empty. » more..

Django superuser login trapdoor

posted 13 August

I added an admin trapdoor login to a project the other day. This is the technique where a superuser can log in to a site as any other user. » more..

More blog ·· animation · art · autism · blogs · books · business · coding · crafts · development · friends & family · funny · games · google · graphics · history · how-to · language · math · movies · music · online · parenting · photos · politics · python · quick links · science · tools · typography · web · windows · work · 2010 · 2009 · 2008 · 2007 · 2006 · 2005 · 2004 · 2003 · 2002 · RSS feed » more topics..

Code

software for your use

  • ▫ Aptus ·· a Mandelbrot set explorer
  • ▫ coverage.py ·· for measuring Python code coverage
  • ▫ hyphenate ·· for hyphenating words with the Liang/Knuth algorithm
  • » more code..

Text

longer writings

I'm a software developer in my late forties. I have a good-sized family: one wife and three boys, one autistic. We live outside of Boston.» more..