I created an internal wiki for our team, and I needed to password-protect the whole thing. I didn't want users to have to authenticate themselves to Apache, then get to the wiki pages and have to log in again, so I went looking for an automated solution. I found info on doing it with MySQL, but not with PostgreSQL.
Articles by Category: Python
Setting Up MediaWiki 1.13 with mod_auth_pgsql Authentication
Posted September 24, 2008Telling Subversion to Ignore .pyc Files
Posted July 30, 2007I'm always forgetting how to tell Subversion that it should ignore .pyc files, so I figured I'd write it down.
Working With Lists
Posted July 26, 2007While attempting to add lists together today, I ran into something unexpected - I was using append() when I should have been using extend(). I've also added a quick gotcha for sorting lists and returning only unique elements.
Setting Django Environment Variables in a Python Script
Posted July 15, 2007If you use the Django database API from a Python script, you will probably need to set the DJANGO_SETTINGS_MODULE and PYTHONPATH environment variables. Read on to find out how.

